Completed
Pull Request — master (#517)
by Julián
04:12
created
src/Whoops/Handler/PrettyPageHandler.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
      * @throws InvalidArgumentException If editor resolver does not return a string
432 432
      * @param  string                   $filePath
433 433
      * @param  int                      $line
434
-     * @return string|bool
434
+     * @return false|string
435 435
      */
436 436
     public function getEditorHref($filePath, $line)
437 437
     {
@@ -485,7 +485,7 @@  discard block
 block discarded – undo
485 485
      *
486 486
      * @param  string $filePath
487 487
      * @param  int    $line
488
-     * @return array
488
+     * @return string
489 489
      */
490 490
     protected function getEditor($filePath, $line)
491 491
     {
@@ -674,8 +674,8 @@  discard block
 block discarded – undo
674 674
     /**
675 675
      * blacklist a sensitive value within one of the superglobal arrays.
676 676
      *
677
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
678
-     * @param $key string the key within the superglobal
677
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
678
+     * @param string $key string the key within the superglobal
679 679
      */
680 680
     public function blacklist($superGlobalName, $key) {
681 681
         $this->blacklist[$superGlobalName][] = $key;
@@ -688,7 +688,7 @@  discard block
 block discarded – undo
688 688
      * We intentionally dont rely on $GLOBALS as it depends on 'auto_globals_jit' php.ini setting.
689 689
      *
690 690
      * @param $superGlobal array One of the superglobal arrays
691
-     * @param $superGlobalName string the name of the superglobal array, e.g. '_GET'
691
+     * @param string $superGlobalName string the name of the superglobal array, e.g. '_GET'
692 692
      * @return array $values without sensitive data
693 693
      */
694 694
     private function getMasked(array $superGlobal, $superGlobalName) {
Please login to merge, or discard this patch.