Completed
Push — master ( 5c7bd9...4b782d )
by Michael
02:30
created
src/Request/JsonApiDocumentParameterConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
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'))
Please login to merge, or discard this patch.