Преглед на файлове

bugfix different declaration

andre преди 1 година
родител
ревизия
64355d4a55
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      vendor/symfony/http-foundation/HeaderBag.php
  2. 1 1
      vendor/symfony/http-foundation/ResponseHeaderBag.php

+ 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) {