@@ -106,7 +106,7 @@ |
||
106 | 106 | * Checks if a header exists by the given case-insensitive name. |
107 | 107 | * |
108 | 108 | * @param string $name Case-insensitive header field name. |
109 | - * @return bool Returns true if any header names match the given header |
|
109 | + * @return boolean|null Returns true if any header names match the given header |
|
110 | 110 | * name using a case-insensitive string comparison. Returns false if |
111 | 111 | * no matching header name is found in the message. |
112 | 112 | */ |
@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * Validates a given port. A port is valid if it is either null or an integer between 1 and 65535 inclusive. |
49 | 49 | * |
50 | - * @param mixed $port The port to be validated |
|
50 | + * @param integer|null $port The port to be validated |
|
51 | 51 | * @return bool Returns true if the given port is valid |
52 | 52 | * Returns false otherwise |
53 | 53 | */ |