Completed
Pull Request — master (#391)
by Théo
02:06
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/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.