http: Support callback functions in GuzzleHttpRequest
[lhc/web/wiklou.git] / tests / phpunit / includes / site / MediaWikiPageNameNormalizerTest.php
index 2ac2714..15894a3 100644 (file)
@@ -107,9 +107,8 @@ class MediaWikiPageNameNormalizerTestMockHttp extends Http {
         */
        public static $response;
 
-       public static function get( $url, $options = [], $caller = __METHOD__ ) {
+       public static function get( $url, array $options = [], $caller = __METHOD__ ) {
                PHPUnit_Framework_Assert::assertInternalType( 'string', $url );
-               PHPUnit_Framework_Assert::assertInternalType( 'array', $options );
                PHPUnit_Framework_Assert::assertInternalType( 'string', $caller );
 
                return self::$response;