@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * @param string $requestedPath |
| 53 | 53 | * @param string $folder |
| 54 | 54 | */ |
| 55 | - public function __construct(array $routes, string $defaultReturnType, string $method, string $requestedPath, string $folder='') |
|
| 55 | + public function __construct(array $routes, string $defaultReturnType, string $method, string $requestedPath, string $folder = '') |
|
| 56 | 56 | { |
| 57 | 57 | $this->routes = $routes; |
| 58 | 58 | $this->method = $method; |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | if (!empty($folder)) { |
| 72 | 72 | $requestPath = '/' . trim(preg_replace('#^/' . $folder . '#msi', '/', $requestPath), "/"); |
| 73 | 73 | } |
| 74 | - if($requestPath == ''){ |
|
| 74 | + if ($requestPath == '') { |
|
| 75 | 75 | $requestPath = '/'; |
| 76 | 76 | } |
| 77 | 77 | return $requestPath; |