Completed
Pull Request — v1 (#422)
by
unknown
03:17
created
src/Whoops/Handler/PrettyPageHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
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
@@ -23,7 +23,7 @@
 block discarded – undo
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
     {
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
@@ -23,7 +23,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Whoops/Exception/Inspector.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@
 block discarded – undo
127 127
      * Given an exception, generates an array in the format
128 128
      * generated by Throwable::getTrace()
129 129
      * @param  \Exception | \Throwable $exception
130
+     * @param \Exception $exception
130 131
      * @return array
131 132
      */
132 133
     protected function getFrameFromException($exception)
Please login to merge, or discard this patch.
src/Whoops/Run.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * Returns an array with all handlers, in the
74 74
      * order they were added to the stack.
75
-     * @return array
75
+     * @return HandlerInterface[]
76 76
      */
77 77
     public function getHandlers()
78 78
     {
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
     /**
143 143
      * Should Whoops allow Handlers to force the script to quit?
144
-     * @param  bool|int $exit
144
+     * @param  boolean $exit
145 145
      * @return bool
146 146
      */
147 147
     public function allowQuit($exit = null)
@@ -227,6 +227,7 @@  discard block
 block discarded – undo
227 227
      * page.
228 228
      *
229 229
      * @param  \Exception | \Throwable $exception
230
+     * @param ErrorException $exception
230 231
      * @return string    Output generated by handlers
231 232
      */
232 233
     public function handleException($exception)
Please login to merge, or discard this patch.