We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027a76f commit 48b7813Copy full SHA for 48b7813
1 file changed
packages/http/src/RequestHeaders.php
@@ -48,7 +48,7 @@ public function get(string $name, ?string $default = null): ?string
48
49
public function has(string $name): bool
50
{
51
- return (bool) $this->get($name);
+ return $this->offsetExists($name);
52
}
53
54
public function getHeader(string $name): Header
0 commit comments