Browse Source

bugfix different declaration

andre 1 năm trước cách đây
mục cha
commit
64355d4a55

+ 1 - 1
vendor/symfony/http-foundation/HeaderBag.php

@@ -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;
     }

+ 1 - 1
vendor/symfony/http-foundation/ResponseHeaderBag.php

@@ -88,7 +88,7 @@ class ResponseHeaderBag extends HeaderBag
     /**
      * {@inheritdoc}
      */
-    public function all()
+    public function all(string $key = null)
     {
         $headers = parent::all();
         foreach ($this->getCookies() as $cookie) {