@@ -156,7 +156,7 @@ |
||
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | 158 | * @param string $eventName |
| 159 | - * @param mixed $receiver |
|
| 159 | + * @param \Closure $receiver |
|
| 160 | 160 | * @param integer $priority |
| 161 | 161 | * @return self |
| 162 | 162 | */ |
@@ -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 | } |
@@ -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 | } |