@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | /** @var RequestHandler $activeRequestHandler */ |
| 88 | 88 | $activeRequestHandler = $this->bootstrap->getActiveRequestHandler(); |
| 89 | 89 | $parentHttpRequest = $activeRequestHandler->getHttpRequest(); |
| 90 | - $uri = rtrim($parentHttpRequest->getBaseUri(), '/') . '/' . $path; |
|
| 90 | + $uri = rtrim($parentHttpRequest->getBaseUri(), '/').'/'.$path; |
|
| 91 | 91 | $httpRequest = Request::create(new Uri($uri)); |
| 92 | 92 | $routeContext = new RouteContext($httpRequest, RouteParameters::createEmpty()); |
| 93 | 93 | try { |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | } |
| 108 | 108 | $response = new Response($activeRequestHandler->getHttpResponse()); |
| 109 | 109 | |
| 110 | - $this->securityContext->withoutAuthorizationChecks(function () use ($request, $response) { |
|
| 110 | + $this->securityContext->withoutAuthorizationChecks(function() use ($request, $response) { |
|
| 111 | 111 | $this->dispatcher->dispatch($request, $response); |
| 112 | 112 | }); |
| 113 | 113 | |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | } |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | - $path = $matches['firstUriPart'] . '/' . $path; |
|
| 165 | + $path = $matches['firstUriPart'].'/'.$path; |
|
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | /** |
@@ -175,6 +175,6 @@ discard block |
||
| 175 | 175 | foreach ($dimensionPresets as $dimensionName => $dimensionPreset) { |
| 176 | 176 | $defaultDimensionPresetUriSegments[] = $dimensionPreset['presets'][$dimensionPreset['defaultPreset']]['uriSegment']; |
| 177 | 177 | } |
| 178 | - $path = implode('_', $defaultDimensionPresetUriSegments) . '/' . $path; |
|
| 178 | + $path = implode('_', $defaultDimensionPresetUriSegments).'/'.$path; |
|
| 179 | 179 | } |
| 180 | 180 | } |