@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | /** @var RequestHandler $activeRequestHandler */ |
| 85 | 85 | $activeRequestHandler = $this->bootstrap->getActiveRequestHandler(); |
| 86 | 86 | $parentHttpRequest = $activeRequestHandler->getHttpRequest(); |
| 87 | - $uri = rtrim($parentHttpRequest->getBaseUri(), '/') . '/' . $path; |
|
| 87 | + $uri = rtrim($parentHttpRequest->getBaseUri(), '/').'/'.$path; |
|
| 88 | 88 | $httpRequest = Request::create(new Uri($uri)); |
| 89 | 89 | $matchingRoute = $this->router->route($httpRequest); |
| 90 | 90 | if (!$matchingRoute) { |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | } |
| 100 | 100 | $response = new Response($activeRequestHandler->getHttpResponse()); |
| 101 | 101 | |
| 102 | - $this->securityContext->withoutAuthorizationChecks(function () use ($request, $response) { |
|
| 102 | + $this->securityContext->withoutAuthorizationChecks(function() use ($request, $response) { |
|
| 103 | 103 | $this->dispatcher->dispatch($request, $response); |
| 104 | 104 | }); |
| 105 | 105 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | } |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | - $path = $matches['firstUriPart'] . '/' . $path; |
|
| 157 | + $path = $matches['firstUriPart'].'/'.$path; |
|
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | /** |
@@ -167,6 +167,6 @@ discard block |
||
| 167 | 167 | foreach ($dimensionPresets as $dimensionName => $dimensionPreset) { |
| 168 | 168 | $defaultDimensionPresetUriSegments[] = $dimensionPreset['presets'][$dimensionPreset['defaultPreset']]['uriSegment']; |
| 169 | 169 | } |
| 170 | - $path = implode('_', $defaultDimensionPresetUriSegments) . '/' . $path; |
|
| 170 | + $path = implode('_', $defaultDimensionPresetUriSegments).'/'.$path; |
|
| 171 | 171 | } |
| 172 | 172 | } |