@@ -78,7 +78,7 @@ |
||
| 78 | 78 | /** |
| 79 | 79 | * Set headers. |
| 80 | 80 | * |
| 81 | - * @param $header |
|
| 81 | + * @param string $header |
|
| 82 | 82 | */ |
| 83 | 83 | protected function tryToSetAuthPHPFrom($header) |
| 84 | 84 | { |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * Checks client IP against allowed ips. |
| 20 | 20 | * |
| 21 | - * @param $clientIp |
|
| 21 | + * @param string $clientIp |
|
| 22 | 22 | * |
| 23 | 23 | * @return bool |
| 24 | 24 | * |
@@ -105,6 +105,9 @@ discard block |
||
| 105 | 105 | return ($ip & $mask) == $subnet; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $csv |
|
| 110 | + */ |
|
| 108 | 111 | private function commaSepratedValues($csv, $trim = true) |
| 109 | 112 | { |
| 110 | 113 | $items = !empty($csv) && is_string($csv) |