@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $this->router = $router; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function name(): ?string |
|
| 27 | + public function name(): ? string |
|
| 28 | 28 | { |
| 29 | 29 | return $this->name; |
| 30 | 30 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | return $this->exception; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function response(): ?Response |
|
| 27 | + public function response(): ? Response |
|
| 28 | 28 | { |
| 29 | 29 | return $this->response; |
| 30 | 30 | } |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | $values = []; |
| 62 | 62 | $pattern = str_replace(['.', '*'], ['\.', '[\w\-\.]*'], $id); |
| 63 | 63 | foreach ($this->keys() as $id) { |
| 64 | - if (1 === preg_match('/^'.$pattern.'$/', $id)) { |
|
| 64 | + if (1 === preg_match('/^' . $pattern . '$/', $id)) { |
|
| 65 | 65 | $values[] = $this->offsetGet($id); |
| 66 | 66 | } |
| 67 | 67 | } |