Skip to content

Commit e85ac95

Browse files
committed
Update Response.php
1 parent 0b074ed commit e85ac95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Response.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public function __construct(protected ?ResponsePlusInterface $response = null)
5858

5959
public function __call(string $name, array $arguments): mixed
6060
{
61-
if (static::hasMacro($method)) {
62-
return $this->macroCall($method, $parameters);
61+
if (static::hasMacro($name)) {
62+
return $this->macroCall($name, $arguments);
6363
}
6464

6565
$response = $this->getResponse();

0 commit comments

Comments
 (0)