diff --git a/src/EventListener/JsonSchemaRequestValidatorListener.php b/src/EventListener/JsonSchemaRequestValidatorListener.php index 568e1b8..0691361 100644 --- a/src/EventListener/JsonSchemaRequestValidatorListener.php +++ b/src/EventListener/JsonSchemaRequestValidatorListener.php @@ -120,9 +120,9 @@ private function routeShouldBeIgnored(Request $request, FilePathProvider $jsonSc /** * @param Request $request * - * @return stdClass|null + * @return stdClass|array|null */ - private function getRequestContent(Request $request): ?stdClass + private function getRequestContent(Request $request) { $json = $request->getContent();