@@ -400,7 +400,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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) { |