Completed
Push — master ( e28f9a...ae4772 )
by Aske
12:03
created
Classes/ViewHelpers/RequestViewHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.