Completed
Pull Request — master (#640)
by Michał
01:37
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/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
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
      * @throws InvalidArgumentException If editor resolver does not return a string
429 429
      * @param  string                   $filePath
430 430
      * @param  int                      $line
431
-     * @return string|bool
431
+     * @return false|string
432 432
      */
433 433
     public function getEditorHref($filePath, $line)
434 434
     {
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
      *
483 483
      * @param  string $filePath
484 484
      * @param  int    $line
485
-     * @return array
485
+     * @return string
486 486
      */
487 487
     protected function getEditor($filePath, $line)
488 488
     {
@@ -671,8 +671,8 @@  discard block
 block discarded – undo
671 671
     /**
672 672
      * blacklist a sensitive value within one of the superglobal arrays.
673 673
      *
674
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
675
-     * @param $key string the key within the superglobal
674
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
675
+     * @param string $key string the key within the superglobal
676 676
      */
677 677
     public function blacklist($superGlobalName, $key)
678 678
     {
@@ -686,7 +686,7 @@  discard block
 block discarded – undo
686 686
      * We intentionally dont rely on $GLOBALS as it depends on 'auto_globals_jit' php.ini setting.
687 687
      *
688 688
      * @param $superGlobal array One of the superglobal arrays
689
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
689
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
690 690
      * @return array $values without sensitive data
691 691
      */
692 692
     private function masked(array $superGlobal, $superGlobalName)
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
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * - appendHandler to add handler to be executed as last (add to the top of the stack)
140 140
      * - prependHandler to add the handler to be executed as first (add to the bottom of the stack)
141 141
      *
142
-     * @return array
142
+     * @return HandlerInterface[]
143 143
      */
144 144
     public function getHandlers()
145 145
     {
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
      * Handles an exception, ultimately generating a Whoops error
305 305
      * page.
306 306
      *
307
-     * @param  \Throwable $exception
307
+     * @param  ErrorException $exception
308 308
      * @return string     Output generated by handlers
309 309
      */
310 310
     public function handleException($exception)
Please login to merge, or discard this patch.