@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Register your handler as the last of all currently registered handlers. |
100 | 100 | * Prefer using appendHandler and prependHandler for clarity. |
101 | 101 | * |
102 | - * @param Callable|HandlerInterface $handler |
|
102 | + * @param HandlerInterface $handler |
|
103 | 103 | * |
104 | 104 | * @return Run |
105 | 105 | * |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * Returns an array with all handlers, in the order they were added to the stack. |
148 | 148 | * |
149 | - * @return array |
|
149 | + * @return HandlerInterface[] |
|
150 | 150 | */ |
151 | 151 | public function getHandlers() |
152 | 152 | { |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @param bool|int $code |
267 | 267 | * |
268 | - * @return int|false |
|
268 | + * @return integer |
|
269 | 269 | * |
270 | 270 | * @throws InvalidArgumentException |
271 | 271 | */ |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | /** |
313 | 313 | * Handles an exception, ultimately generating a Whoops error page. |
314 | 314 | * |
315 | - * @param Throwable $exception |
|
315 | + * @param ErrorException $exception |
|
316 | 316 | * |
317 | 317 | * @return string Output generated by handlers. |
318 | 318 | */ |