PHPDoc: Fix non-carnonical order of elements in phpdoc
authorDerick Alangi <alangiderick@gmail.com>
Wed, 12 Jun 2019 19:10:25 +0000 (20:10 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Wed, 12 Jun 2019 19:18:32 +0000 (20:18 +0100)
Change-Id: I21330e14629b5cd085f55c1b6c6232a4a6f4afcf

includes/libs/objectcache/WANObjectCache.php
includes/page/WikiFilePage.php
tests/phpunit/includes/title/NamespaceInfoTest.php

index dac3421..1d8662a 100644 (file)
@@ -1464,7 +1464,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface {
         * @param string $kClass
         * @param float $elapsed Seconds spent regenerating the value
         * @param float $lockTSE
-        * @param $hasLock bool
+        * @param bool $hasLock
         * @return bool Whether it is OK to proceed with a key set operation
         */
        private function checkAndSetCooloff( $key, $kClass, $elapsed, $lockTSE, $hasLock ) {
index 8df9ab2..013dd75 100644 (file)
@@ -152,7 +152,7 @@ class WikiFilePage extends WikiPage {
                $size = $this->mFile->getSize();
 
                /**
-                * @var $file File
+                * @var File $file
                 */
                foreach ( $dupes as $index => $file ) {
                        $key = $file->getRepoName() . ':' . $file->getName();
index b1262a3..7eb8fd5 100644 (file)
@@ -402,7 +402,7 @@ class NamespaceInfoTest extends MediaWikiTestCase {
        }
 
        /**
-        * @param $contentNamespaces To pass to constructor
+        * @param mixed $contentNamespaces To pass to constructor
         * @param array $expected
         * @dataProvider provideGetContentNamespaces
         * @covers NamespaceInfo::getContentNamespaces