@@ -247,7 +247,7 @@ discard block |
||
| 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 |
||
| 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; |
@@ -42,7 +42,7 @@ discard block |
||
| 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 |
||
| 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 | |