@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param bool|null $returnFrames |
30 | - * @return bool|$this |
|
30 | + * @return boolean |
|
31 | 31 | */ |
32 | 32 | public function addTraceToOutput($returnFrames = null) |
33 | 33 | { |
@@ -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) |
@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param bool|null $returnFrames |
30 | - * @return bool|$this |
|
30 | + * @return boolean |
|
31 | 31 | */ |
32 | 32 | public function addTraceToOutput($returnFrames = null) |
33 | 33 | { |
@@ -401,7 +401,7 @@ discard block |
||
401 | 401 | * @throws InvalidArgumentException If editor resolver does not return a string |
402 | 402 | * @param string $filePath |
403 | 403 | * @param int $line |
404 | - * @return string|bool |
|
404 | + * @return false|string |
|
405 | 405 | */ |
406 | 406 | public function getEditorHref($filePath, $line) |
407 | 407 | { |
@@ -455,7 +455,7 @@ discard block |
||
455 | 455 | * |
456 | 456 | * @param string $filePath |
457 | 457 | * @param int $line |
458 | - * @return array |
|
458 | + * @return string |
|
459 | 459 | */ |
460 | 460 | protected function getEditor($filePath, $line) |
461 | 461 | { |
@@ -634,8 +634,8 @@ discard block |
||
634 | 634 | /** |
635 | 635 | * blacklist a sensitive value within one of the superglobal arrays. |
636 | 636 | * |
637 | - * @param $superGlobalName string the name of the superglobal array, e.g. '_GET' |
|
638 | - * @param $key string the key within the superglobal |
|
637 | + * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET' |
|
638 | + * @param string $key string the key within the superglobal |
|
639 | 639 | */ |
640 | 640 | public function blacklist($superGlobalName, $key) { |
641 | 641 | $this->blacklist[$superGlobalName][] = $key; |