@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | $this->parameters = $this->route->parameters(); |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - public function getHeader(string $name): ?string |
|
| 80 | + public function getHeader(string $name): ? string |
|
| 81 | 81 | { |
| 82 | 82 | return $this->headers[$name] ?? null; |
| 83 | 83 | } |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | * |
| 172 | 172 | * @return Response |
| 173 | 173 | */ |
| 174 | - public function response(): ?Response |
|
| 174 | + public function response(): ? Response |
|
| 175 | 175 | { |
| 176 | 176 | $response = ($this->route)($this); |
| 177 | 177 | return ($response instanceof Response) ? $response : null; |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | * @param string $key Dot notation for deeper values, i.e. `user.email` |
| 186 | 186 | * @return mixed|interfaces\Session |
| 187 | 187 | */ |
| 188 | - public function session(?string $key = null) |
|
| 188 | + public function session(? string $key = null) |
|
| 189 | 189 | { |
| 190 | 190 | if (is_null($key)) { |
| 191 | 191 | return $this->session; |