From: Thiemo Mättig Date: Fri, 15 Sep 2017 09:17:17 +0000 (+0200) Subject: Fix a few minor mistakes in PHPDoc tags X-Git-Tag: 1.31.0-rc.0~2087^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=7301b2514e834a6edb84de838320b2e5d55a6254;p=lhc%2Fweb%2Fwiklou.git Fix a few minor mistakes in PHPDoc tags Change-Id: I2d5f876c9945ba21f8748562230170e3c7ea2ff2 --- diff --git a/includes/XmlJsCode.php b/includes/XmlJsCode.php index 35a06071a2..1b90a1f20d 100644 --- a/includes/XmlJsCode.php +++ b/includes/XmlJsCode.php @@ -26,7 +26,7 @@ * @par Example: * @code * Xml::encodeJsVar( new XmlJsCode( 'a + b' ) ); - * @encode + * @endcode * * This returns "a + b". * diff --git a/includes/rcfeed/RedisPubSubFeedEngine.php b/includes/rcfeed/RedisPubSubFeedEngine.php index f0fcd7da74..5960989d54 100644 --- a/includes/rcfeed/RedisPubSubFeedEngine.php +++ b/includes/rcfeed/RedisPubSubFeedEngine.php @@ -33,7 +33,7 @@ * 'formatter' => 'JSONRCFeedFormatter', * 'uri' => "redis://127.0.0.1:6379/rc.$wgDBname", * ); - * @encode + * @endcode * * @since 1.22 */ diff --git a/includes/search/SearchNearMatcher.php b/includes/search/SearchNearMatcher.php index 8e8686542c..27046f3156 100644 --- a/includes/search/SearchNearMatcher.php +++ b/includes/search/SearchNearMatcher.php @@ -6,8 +6,7 @@ */ class SearchNearMatcher { /** - * Configuration object. - * @param Config $config + * @var Config */ protected $config; diff --git a/tests/phpunit/includes/libs/CSSMinTest.php b/tests/phpunit/includes/libs/CSSMinTest.php index d0121b15aa..0127c26035 100644 --- a/tests/phpunit/includes/libs/CSSMinTest.php +++ b/tests/phpunit/includes/libs/CSSMinTest.php @@ -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 );