Skip to content

Commit 5740fce

Browse files
authored
Fix type definition for responses in ClientFake::addResponses method (#382)
* fix type definition for responses in ClientFake::addResponses method * fix lint advises
1 parent e1e034a commit 5740fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Testing/ClientFake.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ClientFake implements ClientContract
3939
public function __construct(protected array $responses = []) {}
4040

4141
/**
42-
* @param array<array-key, Response> $responses
42+
* @param array<array-key, ResponseContract|StreamResponse|string> $responses
4343
*/
4444
public function addResponses(array $responses): void
4545
{

0 commit comments

Comments
 (0)