Skip to content

Commit c876330

Browse files
Optimized the parameters of method __call() to make them more standardized. (#7637)
Co-authored-by: 李铭昕 <715557344@qq.com>
1 parent 58ef5cb commit c876330

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ConsulResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(private ResponseInterface $response)
2828
{
2929
}
3030

31-
public function __call($name, $arguments)
31+
public function __call(string $name, array $arguments): mixed
3232
{
3333
return $this->response->{$name}(...$arguments);
3434
}

0 commit comments

Comments
 (0)