Completed
Pull Request — master (#676)
by
unknown
45:17 queued 44:07
created
src/Whoops/Handler/JsonResponseHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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
     {
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
@@ -27,7 +27,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
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
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * Register your handler as the last of all currently registered handlers.
100 100
      * Prefer using appendHandler and prependHandler for clarity.
101 101
      *
102
-     * @param Callable|HandlerInterface $handler
102
+     * @param HandlerInterface $handler
103 103
      *
104 104
      * @return Run
105 105
      *
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * Returns an array with all handlers, in the order they were added to the stack.
148 148
      *
149
-     * @return array
149
+     * @return HandlerInterface[]
150 150
      */
151 151
     public function getHandlers()
152 152
     {
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
      *
266 266
      * @param bool|int $code
267 267
      *
268
-     * @return int|false
268
+     * @return integer
269 269
      *
270 270
      * @throws InvalidArgumentException
271 271
      */
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
     /**
313 313
      * Handles an exception, ultimately generating a Whoops error page.
314 314
      *
315
-     * @param Throwable $exception
315
+     * @param ErrorException $exception
316 316
      *
317 317
      * @return string Output generated by handlers.
318 318
      */
Please login to merge, or discard this patch.