@@ -24,7 +24,7 @@ |
||
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, |
@@ -81,7 +81,7 @@ |
||
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) { |