summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-foundation/HeaderBag.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-foundation/HeaderBag.php')
-rw-r--r--vendor/symfony/http-foundation/HeaderBag.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/symfony/http-foundation/HeaderBag.php b/vendor/symfony/http-foundation/HeaderBag.php
index 7aaa52ae56..d811b52758 100644
--- a/vendor/symfony/http-foundation/HeaderBag.php
+++ b/vendor/symfony/http-foundation/HeaderBag.php
@@ -101,11 +101,11 @@ class HeaderBag implements \IteratorAggregate, \Countable
/**
* Returns a header value by name.
*
- * @param string $key The header name
- * @param string|string[] $default The default value
- * @param bool $first Whether to return the first value or all header values
+ * @param string $key The header name
+ * @param string|string[]|null $default The default value
+ * @param bool $first Whether to return the first value or all header values
*
- * @return string|string[] The first header value or default value if $first is true, an array of values otherwise
+ * @return string|string[]|null The first header value or default value if $first is true, an array of values otherwise
*/
public function get($key, $default = null, $first = true)
{