Completed
Pull Request — master (#696)
by
unknown
01:20
created
src/Whoops/Handler/PrettyPageHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
      *
477 477
      * @throws InvalidArgumentException If editor resolver does not return a string
478 478
      *
479
-     * @return string|bool
479
+     * @return false|string
480 480
      */
481 481
     public function getEditorHref($filePath, $line)
482 482
     {
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
      * @param string $filePath
530 530
      * @param int    $line
531 531
      *
532
-     * @return array
532
+     * @return string
533 533
      */
534 534
     protected function getEditor($filePath, $line)
535 535
     {
Please login to merge, or discard this patch.
src/Whoops/Run.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Whoops/Handler/JsonResponseHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param  bool|null  $returnFrames
41
-     * @return bool|static
41
+     * @return boolean
42 42
      */
43 43
     public function addTraceToOutput($returnFrames = null)
44 44
     {
Please login to merge, or discard this patch.
src/Whoops/Handler/XmlResponseHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param  bool|null  $returnFrames
41
-     * @return bool|static
41
+     * @return boolean
42 42
      */
43 43
     public function addTraceToOutput($returnFrames = null)
44 44
     {
Please login to merge, or discard this patch.