From c84ba5371de688ad7afa45214454431fd779187b Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 21 Dec 2021 10:06:18 +0100 Subject: [PATCH] test: Do not use PHP 8 keywords yet. It's much too early ! :) --- .../src/Service/Controller/ResponderInterface.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillWopiBundle/src/Service/Controller/ResponderInterface.php b/src/Bundle/ChillWopiBundle/src/Service/Controller/ResponderInterface.php index 876509469..a2fd907e5 100644 --- a/src/Bundle/ChillWopiBundle/src/Service/Controller/ResponderInterface.php +++ b/src/Bundle/ChillWopiBundle/src/Service/Controller/ResponderInterface.php @@ -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> $headers * @param array $context */ public function json( - mixed $data, + $data, int $status = 200, array $headers = [], array $context = []