diff --git a/vendor/symfony/http-foundation/ResponseHeaderBag.php b/vendor/symfony/http-foundation/ResponseHeaderBag.php index d4c4f393..cade633f 100644 --- a/vendor/symfony/http-foundation/ResponseHeaderBag.php +++ b/vendor/symfony/http-foundation/ResponseHeaderBag.php @@ -88,7 +88,7 @@ public function replace(array $headers = []) /** * {@inheritdoc} */ - public function all(?string $key = null) + public function all(?string $key = null): array { $headers = parent::all(); @@ -164,7 +164,7 @@ public function remove(string $key) /** * {@inheritdoc} */ - public function hasCacheControlDirective(string $key) + public function hasCacheControlDirective(string $key): bool { return \array_key_exists($key, $this->computedCacheControl); } @@ -172,7 +172,7 @@ public function hasCacheControlDirective(string $key) /** * {@inheritdoc} */ - public function getCacheControlDirective(string $key) + public function getCacheControlDirective(string $key): string|bool|null { return $this->computedCacheControl[$key] ?? null; }