summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-11-22 11:15:27 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-11-22 11:15:27 +0100
commit5704174fe635031209837cf4bd42d2eb17bb445d (patch)
tree1ac3c24550941682fe831402b2e83e62870cc616 /src
parent9a170c82cbf932b528ce4294c8857e1961f5873f (diff)
MessageTrait: Fixed HeaderBag::get parameter deprecation in Symfony 4.4
Diffstat (limited to 'src')
-rw-r--r--src/Http/MessageTrait.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Http/MessageTrait.php b/src/Http/MessageTrait.php
index 93c7cd50..a835ba0e 100644
--- a/src/Http/MessageTrait.php
+++ b/src/Http/MessageTrait.php
@@ -111,7 +111,7 @@ trait MessageTrait
*/
public function getHeader($name)
{
- return $this->headers->get($name, null, false);
+ return $this->headers->all($name);
}
/**