@@ -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 | */ |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * |
80 | 80 | * @param string $string A string the string may or may not start with, with or without repetition |
81 | 81 | * |
82 | - * @return bool|string Returns a potentially modified string with a repeating, starting string collapsed into |
|
82 | + * @return string|false Returns a potentially modified string with a repeating, starting string collapsed into |
|
83 | 83 | * a single instance of the string |
84 | 84 | * Returns false if the string does not start with any quantity of the given string |
85 | 85 | */ |