@@ -43,7 +43,7 @@ |
||
43 | 43 | $isOptional = $configuration->isOptional(); |
44 | 44 | $isJsonApi = $request->headers->contains('Content-Type', 'application/vnd.api+json'); |
45 | 45 | |
46 | - if (! $isOptional && ! $isJsonApi) { |
|
46 | + if (!$isOptional && !$isJsonApi) { |
|
47 | 47 | throw new BadRequestHttpException(sprintf( |
48 | 48 | 'Invalid media-type of request, "application/vnd.api+json" expected, "%s" given.', |
49 | 49 | implode(', ', (array) $request->headers->get('Content-Type')) |