Fix type hints for parameter documentation
authorReedy <reedy@wikimedia.org>
Fri, 4 Aug 2017 16:44:54 +0000 (17:44 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 5 Aug 2017 13:50:39 +0000 (13:50 +0000)
Fix double space

Change-Id: Ied34a05b2043a3354ff0629d8bb47a1176d8a74e

includes/installer/DatabaseUpdater.php

index 7b6ac5e..8f5858b 100644 (file)
@@ -940,10 +940,10 @@ abstract class DatabaseUpdater {
         *
         * @param string $table Name of the table to modify
         * @param string $patch Name of the patch file to apply
-        * @param string $fullpath Whether to treat $patch path as relative or not, defaults to false
+        * @param string|bool $fullpath Whether to treat $patch path as relative or not, defaults to false
         * @return bool False if this was skipped because of schema changes being skipped
         */
-       public function modifyTable( $table, $patch,  $fullpath = false ) {
+       public function modifyTable( $table, $patch, $fullpath = false ) {
                if ( !$this->doTable( $table ) ) {
                        return true;
                }