Fix a few minor mistakes in PHPDoc tags
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Fri, 15 Sep 2017 09:17:17 +0000 (11:17 +0200)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Fri, 15 Sep 2017 09:17:17 +0000 (11:17 +0200)
Change-Id: I2d5f876c9945ba21f8748562230170e3c7ea2ff2

includes/XmlJsCode.php
includes/rcfeed/RedisPubSubFeedEngine.php
includes/search/SearchNearMatcher.php
tests/phpunit/includes/libs/CSSMinTest.php

index 35a0607..1b90a1f 100644 (file)
@@ -26,7 +26,7 @@
  * @par Example:
  * @code
  *     Xml::encodeJsVar( new XmlJsCode( 'a + b' ) );
- * @encode
+ * @endcode
  *
  * This returns "a + b".
  *
index f0fcd7d..5960989 100644 (file)
@@ -33,7 +33,7 @@
  *      'formatter' => 'JSONRCFeedFormatter',
  *      'uri'       => "redis://127.0.0.1:6379/rc.$wgDBname",
  * );
- * @encode
+ * @endcode
  *
  * @since 1.22
  */
index 8e86865..27046f3 100644 (file)
@@ -6,8 +6,7 @@
  */
 class SearchNearMatcher {
        /**
-        * Configuration object.
-        * @param Config $config
+        * @var Config
         */
        protected $config;
 
index d0121b1..0127c26 100644 (file)
@@ -163,7 +163,7 @@ class CSSMinTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideIsRemoteUrl
-        * @cover CSSMin::isRemoteUrl
+        * @covers CSSMin::isRemoteUrl
         */
        public function testIsRemoteUrl( $expect, $url ) {
                $this->assertEquals( CSSMinTestable::isRemoteUrl( $url ), $expect );
@@ -180,7 +180,7 @@ class CSSMinTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideIsLocalUrls
-        * @cover CSSMin::isLocalUrl
+        * @covers CSSMin::isLocalUrl
         */
        public function testIsLocalUrl( $expect, $url ) {
                $this->assertEquals( CSSMinTestable::isLocalUrl( $url ), $expect );