| @@ -38,7 +38,7 @@ | ||
| 38 | 38 | $method = \strtolower($server['REQUEST_METHOD']); | 
| 39 | 39 | list($request->method, $request->path, $request->query) = [ | 
| 40 | 40 | $method, | 
| 41 | - $this->schemeHost . \parse_url($server['REQUEST_URI'], PHP_URL_PATH), | |
| 41 | + $this->schemeHost.\parse_url($server['REQUEST_URI'], PHP_URL_PATH), | |
| 42 | 42 | ($method === 'get') ? $globals['_GET'] : $globals['_POST'] | 
| 43 | 43 | ]; | 
| 44 | 44 | |
| @@ -74,7 +74,7 @@ | ||
| 74 | 74 | |
| 75 | 75 | private function isCodeExists(\Exception $e) : bool | 
| 76 | 76 |      { | 
| 77 | -        if (! ($e instanceof NotFound) && ! ($e instanceof BadRequest) && ! ($e instanceof ServerError)) { | |
| 77 | +        if (!($e instanceof NotFound) && !($e instanceof BadRequest) && !($e instanceof ServerError)) { | |
| 78 | 78 | return false; | 
| 79 | 79 | } | 
| 80 | 80 | |
| @@ -20,7 +20,7 @@ | ||
| 20 | 20 |      { | 
| 21 | 21 | unset($server); | 
| 22 | 22 | // render | 
| 23 | -        if (! $resourceObject->view) { | |
| 23 | +        if (!$resourceObject->view) { | |
| 24 | 24 | $resourceObject->toString(); | 
| 25 | 25 | } | 
| 26 | 26 | |
| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | public function __toString() | 
| 35 | 35 |      { | 
| 36 | 36 | $querySymbol = $this->query ? '?' : ''; | 
| 37 | -        $string = "{$this->method} {$this->path}{$querySymbol}" . \http_build_query($this->query); | |
| 37 | +        $string = "{$this->method} {$this->path}{$querySymbol}".\http_build_query($this->query); | |
| 38 | 38 | |
| 39 | 39 | return $string; | 
| 40 | 40 | } |