@@ -40,7 +40,7 @@ |
||
40 | 40 | */ |
41 | 41 | public function apply(Request $request, ParamConverter $configuration) |
42 | 42 | { |
43 | - if (! $request->headers->contains('Content-Type', 'application/vnd.api+json')) { |
|
43 | + if (!$request->headers->contains('Content-Type', 'application/vnd.api+json')) { |
|
44 | 44 | throw new BadRequestHttpException(sprintf( |
45 | 45 | 'Invalid media-type of request, "application/vnd.api+json" expected, "%s" given.', |
46 | 46 | implode(', ', (array) $request->headers->get('Content-Type')) |