@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | * @throws InvalidArgumentException If editor resolver does not return a string |
| 320 | 320 | * @param string $filePath |
| 321 | 321 | * @param int $line |
| 322 | - * @return string|bool |
|
| 322 | + * @return false|string |
|
| 323 | 323 | */ |
| 324 | 324 | public function getEditorHref($filePath, $line) |
| 325 | 325 | { |
@@ -374,7 +374,7 @@ discard block |
||
| 374 | 374 | * @throws UnexpectedValueException If editor resolver does not return a boolean |
| 375 | 375 | * @param string $filePath |
| 376 | 376 | * @param int $line |
| 377 | - * @return mixed |
|
| 377 | + * @return string |
|
| 378 | 378 | */ |
| 379 | 379 | protected function getEditor($filePath, $line) |
| 380 | 380 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param bool|null $returnFrames |
| 26 | - * @return bool|$this |
|
| 26 | + * @return boolean |
|
| 27 | 27 | */ |
| 28 | 28 | public function addTraceToOutput($returnFrames = null) |
| 29 | 29 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * @param bool|null $returnFrames |
| 26 | - * @return bool|$this |
|
| 26 | + * @return boolean |
|
| 27 | 27 | */ |
| 28 | 28 | public function addTraceToOutput($returnFrames = null) |
| 29 | 29 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Returns an array with all handlers, in the |
| 75 | 75 | * order they were added to the stack. |
| 76 | - * @return array |
|
| 76 | + * @return HandlerInterface[] |
|
| 77 | 77 | */ |
| 78 | 78 | public function getHandlers() |
| 79 | 79 | { |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | * Handles an exception, ultimately generating a Whoops error |
| 228 | 228 | * page. |
| 229 | 229 | * |
| 230 | - * @param \Throwable $exception |
|
| 230 | + * @param ErrorException $exception |
|
| 231 | 231 | * @return string Output generated by handlers |
| 232 | 232 | */ |
| 233 | 233 | public function handleException($exception) |
@@ -157,7 +157,6 @@ |
||
| 157 | 157 | * |
| 158 | 158 | * If xdebug is installed |
| 159 | 159 | * |
| 160 | - * @param \Throwable $exception |
|
| 161 | 160 | * @return array |
| 162 | 161 | */ |
| 163 | 162 | protected function getTrace($e) |