| @@ -10,7 +10,7 @@ discard block | ||
| 10 | 10 | * @link https://github.com/selamiphp/router | 
| 11 | 11 | */ | 
| 12 | 12 | |
| 13 | -declare(strict_types = 1); | |
| 13 | +declare(strict_types=1); | |
| 14 | 14 | |
| 15 | 15 | namespace Selami\Router; | 
| 16 | 16 | |
| @@ -116,7 +116,7 @@ discard block | ||
| 116 | 116 | } | 
| 117 | 117 | $this->method = $method; | 
| 118 | 118 | $this->requestedPath = $requestedPath; | 
| 119 | - $this->defaultReturnType = ($defaultReturnType >=1 && $defaultReturnType <=7) ? $defaultReturnType : self::HTML; | |
| 119 | + $this->defaultReturnType = ($defaultReturnType >= 1 && $defaultReturnType <= 7) ? $defaultReturnType : self::HTML; | |
| 120 | 120 | } | 
| 121 | 121 | |
| 122 | 122 | public static function createWithServerRequestInterface(int $defaultReturnType, ServerRequestInterface $request) | 
| @@ -138,7 +138,7 @@ discard block | ||
| 138 | 138 | return $new; | 
| 139 | 139 | } | 
| 140 | 140 | |
| 141 | - public function withCacheFile(?string $fileName=null) : self | |
| 141 | + public function withCacheFile(?string $fileName = null) : self | |
| 142 | 142 |      { | 
| 143 | 143 | $new = clone $this; | 
| 144 | 144 | $new->cacheFile = $fileName; | 
| @@ -196,7 +196,7 @@ discard block | ||
| 196 | 196 |          if ($returnType === null) { | 
| 197 | 197 | return $this->defaultReturnType; | 
| 198 | 198 | } | 
| 199 | - return ($returnType >=1 && $returnType <=7) ? $returnType : self::HTML; | |
| 199 | + return ($returnType >= 1 && $returnType <= 7) ? $returnType : self::HTML; | |
| 200 | 200 | } | 
| 201 | 201 | |
| 202 | 202 | private function checkRequestMethodIsValid(string $requestMethod) : void |