Merge "Fix and make some types in PHPDoc and JSDoc tags more specific"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 5 Aug 2017 22:07:59 +0000 (22:07 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 5 Aug 2017 22:08:00 +0000 (22:08 +0000)
1  2 
includes/api/ApiBase.php
languages/Language.php

@@@ -2860,10 -2857,9 +2860,10 @@@ abstract class ApiBase extends ContextS
         * Return the error message related to a certain array
         * @deprecated since 1.29
         * @param array|string|MessageSpecifier $error Element of a getUserPermissionsErrors()-style array
-        * @return [ 'code' => code, 'info' => info ]
+        * @return array [ 'code' => code, 'info' => info ]
         */
        public function parseMsg( $error ) {
 +              wfDeprecated( __METHOD__, '1.29' );
                // Check whether someone passed the whole array, instead of one element as
                // documented. This breaks if it's actually an array of fallback keys, but
                // that's long-standing misbehavior introduced in r87627 to incorrectly
Simple merge