X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FImagePageTest.php;h=3c255b5f669a3a825193bc3329fd8733cd64884f;hb=2d9d5fecf334264bcba05ad9624a377dfc29c067;hp=d5ecb9570d217139d9c7819eade7c51c5c37b302;hpb=01da3da43d18b123fe3679a6af21f046a78180d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/ImagePageTest.php b/tests/phpunit/includes/ImagePageTest.php index d5ecb9570d..3c255b5f66 100644 --- a/tests/phpunit/includes/ImagePageTest.php +++ b/tests/phpunit/includes/ImagePageTest.php @@ -22,8 +22,8 @@ class ImagePageTest extends MediaWikiMediaTestCase { /** * @dataProvider providerGetDisplayWidthHeight - * @param $dimensions Array [maxWidth, maxHeight, width, height] - * @param $expected Array [width, height] The width and height we expect to display at + * @param array $dim Array [maxWidth, maxHeight, width, height] + * @param array $expected Array [width, height] The width and height we expect to display at */ function testGetDisplayWidthHeight( $dim, $expected ) { $iPage = $this->getImagePage( 'animated.gif' ); @@ -66,8 +66,8 @@ class ImagePageTest extends MediaWikiMediaTestCase { /** * @dataProvider providerGetThumbSizes - * @param $filename String - * @param $expectedNumberThumbs integer How many thumbnails to show + * @param string $filename + * @param int $expectedNumberThumbs How many thumbnails to show */ function testGetThumbSizes( $filename, $expectedNumberThumbs ) { $iPage = $this->getImagePage( $filename );