Passed
Pull Request — master (#236)
by Alex
09:23
created
src/POData/Common/ErrorHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public static function handleException(\Exception $exception, IService $service)
26 26
     {
27
-        $acceptTypesText     = $service->getHost()->getRequestAccept() ?? '';
27
+        $acceptTypesText = $service->getHost()->getRequestAccept() ?? '';
28 28
         try {
29 29
             $responseContentType = HttpProcessUtility::selectMimeType(
30 30
                 $acceptTypesText,
Please login to merge, or discard this patch.
src/POData/HttpProcessUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         }
82 82
 
83 83
         if (!$acceptable && !$acceptTypesEmpty) {
84
-            throw new HttpHeaderFailure(Messages::unsupportedMediaType(),415);
84
+            throw new HttpHeaderFailure(Messages::unsupportedMediaType(), 415);
85 85
         }
86 86
 
87 87
         if ($acceptTypesEmpty) {
Please login to merge, or discard this patch.