Drop not needed @dataProvider doc tags from MediaWikiTitleCodecTest
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Wed, 18 Mar 2015 16:19:14 +0000 (17:19 +0100)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Wed, 18 Mar 2015 16:19:14 +0000 (17:19 +0100)
No other @dataProvider in this file does have it's parameters documented.
We usually don't do this because it doesn't add useful information and
is not possible in all cases anyway, e.g. in providers for tests that
are expected to fail. The @param tags would be "mixed" there.

Change-Id: I12a44482e7934a4a18d284d57bf510cb0467cee3

tests/phpunit/includes/title/MediaWikiTitleCodecTest.php

index f1146a7..860fec4 100644 (file)
@@ -370,13 +370,6 @@ class MediaWikiTitleCodecTest extends MediaWikiTestCase {
 
        /**
         * @dataProvider provideGetNamespaceName
-        *
-        * @param int $namespace
-        * @param string $text
-        * @param string $lang
-        * @param string $expected
-        *
-        * @internal param \TitleValue $title
         */
        public function testGetNamespaceName( $namespace, $text, $lang, $expected ) {
                $codec = $this->makeCodec( $lang );