resources: Collapse all jQuery UI modules into one deprecated mega-module
[lhc/web/wiklou.git] / maintenance / generateJsonI18n.php
index efddfb3..e9f4eca 100644 (file)
@@ -79,6 +79,7 @@ class GenerateJsonI18n extends Maintenance {
                        $dir_iterator = new RecursiveDirectoryIterator( dirname( $phpfile ) );
                        $iterator = new RecursiveIteratorIterator(
                                $dir_iterator, RecursiveIteratorIterator::LEAVES_ONLY );
+                       /** @var SplFileInfo $fileObject */
                        foreach ( $iterator as $path => $fileObject ) {
                                if ( fnmatch( "*.i18n.php", $fileObject->getFilename() ) ) {
                                        $this->output( "Converting $path.\n" );
@@ -182,7 +183,7 @@ class GenerateJsonI18n extends Maintenance {
        /**
         * Get an array of author names from a documentation comment containing @author declarations.
         * @param string $comment Documentation comment
-        * @return array Array of author names (strings)
+        * @return string[] Array of author names
         */
        protected function getAuthorsFromComment( $comment ) {
                $matches = null;