test: Do not use PHP 8 keywords yet.

It's much too early ! :)
This commit is contained in:
Pol Dellaiera 2021-12-21 10:06:18 +01:00
parent 4d9c643977
commit c84ba5371d
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -35,11 +35,12 @@ interface ResponderInterface
/**
* Returns a JsonResponse that uses the serializer component if enabled, or json_encode.
*
* @param mixed $data
* @param array<string, list<string>|string> $headers
* @param array<string, mixed> $context
*/
public function json(
mixed $data,
$data,
int $status = 200,
array $headers = [],
array $context = []