@@ -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 | { |
@@ -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 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | |
143 | 143 | /** |
144 | 144 | * Should Whoops allow Handlers to force the script to quit? |
145 | - * @param bool|int $exit |
|
145 | + * @param boolean $exit |
|
146 | 146 | * @return bool |
147 | 147 | */ |
148 | 148 | public function allowQuit($exit = null) |
@@ -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 | { |