@@ -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, |
@@ -143,7 +143,7 @@ |
||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | $segmentCount = count($segments); |
| 146 | - $identifier = $keyPredicate = null; |
|
| 146 | + $identifier = $keyPredicate = null; |
|
| 147 | 147 | $identifier = $this->extractSegmentIdentifierAndKeyPredicate($segments[0], $keyPredicate); |
| 148 | 148 | $previous = $this->createFirstSegmentDescriptor( |
| 149 | 149 | $identifier, |