Merge "Use WIS::getWatchedItemsForUser in SpecialEditWatchlist"
[lhc/web/wiklou.git] / tests / phpunit / includes / FormOptionsTest.php
index 665fa39..5c4d1c0 100644 (file)
@@ -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