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