mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
test: Do not use PHP 8 keywords yet.
It's much too early ! :)
This commit is contained in:
parent
4d9c643977
commit
c84ba5371d
@ -35,11 +35,12 @@ interface ResponderInterface
|
|||||||
/**
|
/**
|
||||||
* Returns a JsonResponse that uses the serializer component if enabled, or json_encode.
|
* 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, list<string>|string> $headers
|
||||||
* @param array<string, mixed> $context
|
* @param array<string, mixed> $context
|
||||||
*/
|
*/
|
||||||
public function json(
|
public function json(
|
||||||
mixed $data,
|
$data,
|
||||||
int $status = 200,
|
int $status = 200,
|
||||||
array $headers = [],
|
array $headers = [],
|
||||||
array $context = []
|
array $context = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user