Skip to content

Commit f1e2a74

Browse files
committed
ci: add tests for PHP 8.5
1 parent c58b8c6 commit f1e2a74

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Client.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ public static function createWithConfig(array $config): Client
4343
return new self(self::buildClient($config));
4444
}
4545

46+
#[\Override]
4647
public function sendRequest(RequestInterface $request): ResponseInterface
4748
{
4849
return $this->sendAsyncRequest($request)->wait();
4950
}
5051

52+
#[\Override]
5153
public function sendAsyncRequest(RequestInterface $request)
5254
{
5355
$promise = $this->guzzle->sendAsync($request);

src/Promise.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,19 @@ public function __construct(PromiseInterface $promise, RequestInterface $request
7070
});
7171
}
7272

73+
#[\Override]
7374
public function then(?callable $onFulfilled = null, ?callable $onRejected = null)
7475
{
7576
return new static($this->promise->then($onFulfilled, $onRejected), $this->request);
7677
}
7778

79+
#[\Override]
7880
public function getState()
7981
{
8082
return $this->state;
8183
}
8284

85+
#[\Override]
8386
public function wait($unwrap = true)
8487
{
8588
$this->promise->wait(false);

0 commit comments

Comments
 (0)