From: Reedy Date: Fri, 4 Aug 2017 16:44:54 +0000 (+0100) Subject: Fix type hints for parameter documentation X-Git-Tag: 1.31.0-rc.0~2458 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=0dc1184f4661d3308876c2ae8334cc22571ca059;p=lhc%2Fweb%2Fwiklou.git Fix type hints for parameter documentation Fix double space Change-Id: Ied34a05b2043a3354ff0629d8bb47a1176d8a74e --- diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 7b6ac5e19d..8f5858bb1e 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -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; }