Completed
Branch master (a16460)
by Gabor
02:34
created
src/WebHemi/Application/EnvironmentManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
 
248 248
         $this->subDomain = $subDomain;
249 249
         $this->mainDomain = $domain;
250
-        $this->applicationDomain = $this->subDomain.'.'. $this->mainDomain;
250
+        $this->applicationDomain = $this->subDomain.'.'.$this->mainDomain;
251 251
 
252 252
         return $this;
253 253
     }
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
                 || $this->checkDomainIsValid($applicationData['type'], $applicationData['path'])
281 281
             ) {
282 282
                 $this->selectedModule = $applicationData['module'];
283
-                $this->selectedApplication = (string)$applicationName;
283
+                $this->selectedApplication = (string) $applicationName;
284 284
                 $this->selectedTheme = $applicationData['theme'];
285 285
 
286 286
                 $this->selectedApplicationUri = '/'.$subDirectory;
Please login to merge, or discard this patch.
src/WebHemi/Middleware/FinalMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @return ResponseInterface
44 44
      */
45
-    public function __invoke(ServerRequestInterface &$request, ResponseInterface $response)
45
+    public function __invoke(ServerRequestInterface&$request, ResponseInterface $response)
46 46
     {
47 47
         if (headers_sent()) {
48 48
             throw new RuntimeException('Unable to emit response; headers already sent');
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     private function injectContentLength(ResponseInterface $response)
91 91
     {
92
-        if (!$response->hasHeader('Content-Length')&& !is_null($response->getBody()->getSize())) {
92
+        if (!$response->hasHeader('Content-Length') && !is_null($response->getBody()->getSize())) {
93 93
             $response = $response->withHeader('Content-Length', (string) $response->getBody()->getSize());
94 94
         }
95 95
 
Please login to merge, or discard this patch.