@@ -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 | { |
@@ -431,7 +431,7 @@ discard block |
||
431 | 431 | * @throws InvalidArgumentException If editor resolver does not return a string |
432 | 432 | * @param string $filePath |
433 | 433 | * @param int $line |
434 | - * @return string|bool |
|
434 | + * @return false|string |
|
435 | 435 | */ |
436 | 436 | public function getEditorHref($filePath, $line) |
437 | 437 | { |
@@ -678,8 +678,8 @@ discard block |
||
678 | 678 | /** |
679 | 679 | * blacklist a sensitive value within one of the superglobal arrays. |
680 | 680 | * |
681 | - * @param $superGlobalName string the name of the superglobal array, e.g. '_GET' |
|
682 | - * @param $key string the key within the superglobal |
|
681 | + * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET' |
|
682 | + * @param string $key string the key within the superglobal |
|
683 | 683 | */ |
684 | 684 | public function blacklist($superGlobalName, $key) |
685 | 685 | { |
@@ -693,7 +693,7 @@ discard block |
||
693 | 693 | * We intentionally dont rely on $GLOBALS as it depends on 'auto_globals_jit' php.ini setting. |
694 | 694 | * |
695 | 695 | * @param $superGlobal array One of the superglobal arrays |
696 | - * @param $superGlobalName string the name of the superglobal array, e.g. '_GET' |
|
696 | + * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET' |
|
697 | 697 | * @return array $values without sensitive data |
698 | 698 | */ |
699 | 699 | private function masked(array $superGlobal, $superGlobalName) |