X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FFormOptionsTest.php;h=5c4d1c05d7d5f03ac4ab3ce4de31eb22f2a0a8e3;hb=46202ee2b218e7f2813ec97ece046b4850fd78a7;hp=665fa390171d2f6ea3cc04d656c518ff59d66985;hpb=55d5f04e56c1fdddd13073b2749d50778d1e3770;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/FormOptionsTest.php b/tests/phpunit/includes/FormOptionsTest.php index 665fa39017..5c4d1c05d7 100644 --- a/tests/phpunit/includes/FormOptionsTest.php +++ b/tests/phpunit/includes/FormOptionsTest.php @@ -91,7 +91,7 @@ class FormOptionsTest extends MediaWikiTestCase { * @covers FormOptions::guessType */ public function testGuessTypeOnArrayThrowException() { - $this->object->guessType( array( 'foo' ) ); + $this->object->guessType( [ 'foo' ] ); } /** * @expectedException MWException