@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | * Register your handler as the last of all currently registered handlers (to be executed first). |
96 | 96 | * Prefer using appendHandler and prependHandler for clarity. |
97 | 97 | * |
98 | - * @param Callable|HandlerInterface $handler |
|
98 | + * @param HandlerInterface $handler |
|
99 | 99 | * |
100 | 100 | * @return Run |
101 | 101 | * |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Returns an array with all handlers, in the order they were added to the stack. |
144 | 144 | * |
145 | - * @return array |
|
145 | + * @return HandlerInterface[] |
|
146 | 146 | */ |
147 | 147 | public function getHandlers() |
148 | 148 | { |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | * |
262 | 262 | * @param bool|int $code |
263 | 263 | * |
264 | - * @return int|false |
|
264 | + * @return integer |
|
265 | 265 | * |
266 | 266 | * @throws InvalidArgumentException |
267 | 267 | */ |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | /** |
309 | 309 | * Handles an exception, ultimately generating a Whoops error page. |
310 | 310 | * |
311 | - * @param Throwable $exception |
|
311 | + * @param ErrorException $exception |
|
312 | 312 | * |
313 | 313 | * @return string Output generated by handlers. |
314 | 314 | */ |