Completed
Pull Request — master (#484)
by Markus
13:12
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/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   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      * @throws InvalidArgumentException If editor resolver does not return a string
401 401
      * @param  string                   $filePath
402 402
      * @param  int                      $line
403
-     * @return string|bool
403
+     * @return false|string
404 404
      */
405 405
     public function getEditorHref($filePath, $line)
406 406
     {
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
      *
455 455
      * @param  string $filePath
456 456
      * @param  int    $line
457
-     * @return array
457
+     * @return string
458 458
      */
459 459
     protected function getEditor($filePath, $line)
460 460
     {
@@ -633,8 +633,8 @@  discard block
 block discarded – undo
633 633
     /**
634 634
      * blacklist a sensitive value within one of the superglobal arrays.
635 635
      *
636
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
637
-     * @param $key string the key within the superglobal
636
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
637
+     * @param string $key string the key within the superglobal
638 638
      */
639 639
     public function blacklist($superGlobalName, $key) {
640 640
         $this->blacklist[$superGlobalName][] = $key;
@@ -644,7 +644,7 @@  discard block
 block discarded – undo
644 644
      * Checks all values identified by the given superGlobalName within GLOBALS.
645 645
      * Blacklisted values will be replaced by a equal length string cointaining only '*' characters.
646 646
      *
647
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
647
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
648 648
      * @return array $values without sensitive data
649 649
      */
650 650
     private function masked($superGlobalName) {
Please login to merge, or discard this patch.