We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cb9011 commit 6f807cfCopy full SHA for 6f807cf
src/Http/TestResponse.php
@@ -24,6 +24,7 @@
24
use LogicException;
25
use PHPUnit\Framework\Assert as PHPUnit;
26
use Psr\Http\Message\ResponseInterface;
27
+use Swow\Psr7\Message\ResponsePlusInterface;
28
use Symfony\Component\HttpFoundation\StreamedResponse;
29
use Throwable;
30
@@ -597,7 +598,7 @@ public function offsetUnset(mixed $offset): void
597
598
throw new LogicException('Response data may not be mutated using array access.');
599
}
600
- public static function fromBaseResponse(ResponseInterface $response)
601
+ public static function fromBaseResponse(ResponsePlusInterface $response)
602
{
603
return new static(new Response($response));
604
0 commit comments