Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 28b3d49

Browse files
committed
Fix up signature
1 parent 9a351cf commit 28b3d49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Client.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Http\Discovery\MessageFactoryDiscovery;
1111
use Http\Message\ResponseFactory;
1212
use Psr\Http\Message\RequestInterface;
13+
use Psr\Http\Message\ResponseInterface;
1314
use Throwable;
1415

1516
/**
@@ -40,7 +41,7 @@ public function __construct(CakeClient $client = null, ResponseFactory $response
4041
/**
4142
* @inheritdoc
4243
*/
43-
public function sendRequest(RequestInterface $request)
44+
public function sendRequest(RequestInterface $request): ResponseInterface
4445
{
4546
$cakeRequest = new Request(
4647
(string) $request->getUri(),

0 commit comments

Comments
 (0)