Completed
Pull Request — master (#516)
by Markus
03:21
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
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
      * @throws InvalidArgumentException If editor resolver does not return a string
405 405
      * @param  string                   $filePath
406 406
      * @param  int                      $line
407
-     * @return string|bool
407
+     * @return false|string
408 408
      */
409 409
     public function getEditorHref($filePath, $line)
410 410
     {
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
      *
459 459
      * @param  string $filePath
460 460
      * @param  int    $line
461
-     * @return array
461
+     * @return string
462 462
      */
463 463
     protected function getEditor($filePath, $line)
464 464
     {
@@ -647,8 +647,8 @@  discard block
 block discarded – undo
647 647
     /**
648 648
      * blacklist a sensitive value within one of the superglobal arrays.
649 649
      *
650
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
651
-     * @param $key string the key within the superglobal
650
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
651
+     * @param string $key string the key within the superglobal
652 652
      */
653 653
     public function blacklist($superGlobalName, $key) {
654 654
         $this->blacklist[$superGlobalName][] = $key;
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
      * We intentionally dont rely on $GLOBALS as it depends on 'auto_globals_jit' php.ini setting.
662 662
      *
663 663
      * @param $superGlobal array One of the superglobal arrays
664
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
664
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
665 665
      * @return array $values without sensitive data
666 666
      */
667 667
     private function masked(array $superGlobal, $superGlobalName) {
Please login to merge, or discard this patch.