diff options
Diffstat (limited to 'maintenance/language/checkLanguage.inc')
-rw-r--r-- | maintenance/language/checkLanguage.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/maintenance/language/checkLanguage.inc b/maintenance/language/checkLanguage.inc index 11b00e14..1860f4a5 100644 --- a/maintenance/language/checkLanguage.inc +++ b/maintenance/language/checkLanguage.inc @@ -43,7 +43,7 @@ class CheckLanguageCLI { * Constructor. * @param $options array Options for script. */ - public function __construct( Array $options ) { + public function __construct( array $options ) { if ( isset( $options['help'] ) ) { echo $this->help(); exit(1); @@ -305,6 +305,7 @@ ENDS; /** * Check a language. * @param $code string The language code. + * @throws MWException * @return array The results. */ protected function checkLanguage( $code ) { @@ -484,7 +485,7 @@ class CheckExtensionsCLI extends CheckLanguageCLI { * @param $options array Options for script. * @param $extension string The extension name (or names). */ - public function __construct( Array $options, $extension ) { + public function __construct( array $options, $extension ) { if ( isset( $options['help'] ) ) { echo $this->help(); exit(1); @@ -641,6 +642,7 @@ ENDS; /** * Check a language and show the results. * @param $code string The language code. + * @throws MWException */ protected function checkLanguage( $code ) { foreach( $this->extensions as $extension ) { |