Skip to content

Commit 53a7caa

Browse files
authored
Fixed __call causing method_exists to always be false (#7176)
1 parent 831c257 commit 53a7caa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Server/ResponsePlusProxy.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ public function __call(string $name, array $arguments)
4747
throw new InvalidArgumentException(sprintf('The method %s is not supported.', $name));
4848
}
4949

50+
public function getCookies()
51+
{
52+
return $this->__call('getCookies', []);
53+
}
54+
5055
public function getProtocolVersion(): string
5156
{
5257
return $this->response->getProtocolVersion();

0 commit comments

Comments
 (0)