Completed
Pull Request — master (#479)
by Gregor
03: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/Run.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Whoops/Exception/Inspector.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,6 @@
 block discarded – undo
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)
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
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
      * @throws InvalidArgumentException If editor resolver does not return a string
385 385
      * @param  string                   $filePath
386 386
      * @param  int                      $line
387
-     * @return string|bool
387
+     * @return false|string
388 388
      */
389 389
     public function getEditorHref($filePath, $line)
390 390
     {
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
      *
439 439
      * @param  string $filePath
440 440
      * @param  int    $line
441
-     * @return array
441
+     * @return string
442 442
      */
443 443
     protected function getEditor($filePath, $line)
444 444
     {
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.