From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- maintenance/checkSyntax.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'maintenance/checkSyntax.php') diff --git a/maintenance/checkSyntax.php b/maintenance/checkSyntax.php index 83f73be5..cc4e5af5 100644 --- a/maintenance/checkSyntax.php +++ b/maintenance/checkSyntax.php @@ -165,6 +165,8 @@ class CheckSyntax extends Maintenance { /** * Returns true if $file is of a type we can check + * @param $file string + * @return bool */ private function isSuitableFile( $file ) { $file = str_replace( '\\', '/', $file ); @@ -181,6 +183,8 @@ class CheckSyntax extends Maintenance { /** * Add given path to file list, searching it in include path if needed + * @param $path string + * @return bool */ private function addPath( $path ) { global $IP; @@ -188,8 +192,10 @@ class CheckSyntax extends Maintenance { } /** - * Add given file to file list, or, if it's a directory, add its content - */ + * Add given file to file list, or, if it's a directory, add its content + * @param $path string + * @return bool + */ private function addFileOrDir( $path ) { if ( is_dir( $path ) ) { $this->addDirectoryContent( $path ); -- cgit v1.2.3-54-g00ecf