Closed
Description
Symfony version(s) affected
6.4.17
Description
php version: 8.1.7
$_GET is empty
$_POST is empty
How to reproduce
i have HTTP 500 Internal Server Error when try to get Request by Request::createFromGlobals()
Possible Solution
add additional type (array|null) of variables $query and $query and $cookies
like that:
private static function createRequestFromFactory(array|null $query = [], array|null $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], $content = null): stat
Additional Context
No response