summaryrefslogtreecommitdiff
path: root/src/Http
diff options
context:
space:
mode:
Diffstat (limited to 'src/Http')
-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);
}
/**