@@ -34,7 +34,7 @@ |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param string $server Invalid server |
37 | - * @param array $allowed Allowed URL parts |
|
37 | + * @param string[] $allowed Allowed URL parts |
|
38 | 38 | * |
39 | 39 | * @return self |
40 | 40 | */ |
@@ -124,6 +124,9 @@ |
||
124 | 124 | } |
125 | 125 | } |
126 | 126 | |
127 | + /** |
|
128 | + * @param string $header |
|
129 | + */ |
|
127 | 130 | private function addHeaderLine($header, $value, $host = null) |
128 | 131 | { |
129 | 132 | if (null === $host) { |