fix php7.2 compatibility

This commit is contained in:
sunxyw 2022-03-29 19:40:07 +08:00 committed by Jerry Ma
parent 6c7b582faf
commit ca7bfcc8c6

View File

@ -61,7 +61,7 @@ class HttpUtilTest extends TestCase
new RequestMapping('/test', 'test', RequestMethod::GET),
__FUNCTION__,
__CLASS__,
[],
[]
);
$r = new Request();
$r->server['request_uri'] = '/test';
@ -71,7 +71,7 @@ class HttpUtilTest extends TestCase
null,
'/test',
$node,
$params,
$params
));
}
}