| @@ -52,7 +52,7 @@ | ||
| 52 | 52 | * @param DataEntityInterface $entity | 
| 53 | 53 | * @param array $data | 
| 54 | 54 | */ | 
| 55 | - protected function populateEntity(DataEntityInterface &$entity, array $data) | |
| 55 | + protected function populateEntity(DataEntityInterface&$entity, array $data) | |
| 56 | 56 |      { | 
| 57 | 57 | /* @var UserEntity $entity */ | 
| 58 | 58 | $entity->setUserId($data[$this->idKey]) | 
| @@ -89,5 +89,5 @@ | ||
| 89 | 89 | * @param DataEntityInterface $entity | 
| 90 | 90 | * @param array $data | 
| 91 | 91 | */ | 
| 92 | - abstract protected function populateEntity(DataEntityInterface &$entity, array $data); | |
| 92 | + abstract protected function populateEntity(DataEntityInterface&$entity, array $data); | |
| 93 | 93 | } | 
| @@ -52,7 +52,7 @@ | ||
| 52 | 52 | * @param DataEntityInterface $entity | 
| 53 | 53 | * @param array $data | 
| 54 | 54 | */ | 
| 55 | - protected function populateEntity(DataEntityInterface &$entity, array $data) | |
| 55 | + protected function populateEntity(DataEntityInterface&$entity, array $data) | |
| 56 | 56 |      { | 
| 57 | 57 | /* @var UserEntity $entity */ | 
| 58 | 58 | $entity->setUserId($data[$this->idKey]) | 
| @@ -242,7 +242,7 @@ | ||
| 242 | 242 | * @param PDOStatement $statement | 
| 243 | 243 | * @param array $queryBind | 
| 244 | 244 | */ | 
| 245 | - private function bindValuesToStatement(PDOStatement &$statement, array $queryBind) | |
| 245 | + private function bindValuesToStatement(PDOStatement&$statement, array $queryBind) | |
| 246 | 246 |      { | 
| 247 | 247 |          foreach ($queryBind as $index => $data) { | 
| 248 | 248 | $paramType = PDO::PARAM_STR; | 
| @@ -42,7 +42,7 @@ | ||
| 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 |          $template = $request->getAttribute('template'); | 
| 48 | 48 |          $data = $request->getAttribute('data'); | 
| @@ -29,5 +29,5 @@ | ||
| 29 | 29 | * | 
| 30 | 30 | * @return ResponseInterface | 
| 31 | 31 | */ | 
| 32 | - public function __invoke(ServerRequestInterface &$request, ResponseInterface $response); | |
| 32 | + public function __invoke(ServerRequestInterface&$request, ResponseInterface $response); | |
| 33 | 33 | } | 
| @@ -42,7 +42,7 @@ | ||
| 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 |          $template = $request->getAttribute('template'); | 
| 48 | 48 |          $data = $request->getAttribute('data'); | 
| @@ -48,7 +48,7 @@ | ||
| 48 | 48 | $routes = $this->config->toArray(); | 
| 49 | 49 | |
| 50 | 50 | $this->adapter = \FastRoute\simpleDispatcher( | 
| 51 | -            function (RouteCollector $routeCollector) use ($routes) { | |
| 51 | +            function(RouteCollector $routeCollector) use ($routes) { | |
| 52 | 52 |                  foreach ($routes as $route) { | 
| 53 | 53 | $method = $route['allowed_methods']; | 
| 54 | 54 | $uri = $route['path']; | 
| @@ -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; |