@@ -60,7 +60,7 @@ class HeaderBag implements \IteratorAggregate, \Countable
*
* @return array An array of headers
*/
- public function all()
+ public function all(string $key = null)
{
return $this->headers;
}
@@ -88,7 +88,7 @@ class ResponseHeaderBag extends HeaderBag
/**
* {@inheritdoc}
$headers = parent::all();
foreach ($this->getCookies() as $cookie) {