- Fix conflicts

This commit is contained in:
mcndave authored and Dave Mc Nicoll committed 2026-10-19 19:52:24 +00:00
1 parent ec59a36afb
commit a903153fe2
8 files changed
+39 -15

No files matched your search

+2 -2
View File
@@ -11,9 +11,9 @@ use Psr\Http\Message\StreamInterface;
class HttpFactory implements HttpFactoryInterface
{
public static function createResponse(string $url, int $code = 302, array $headers = []) : ResponseInterface
public static function createResponse(mixed $body = 'php://memory', int $code = 200, array $headers = []) : ResponseInterface
{
return new Response($url, $code, $headers);
return new Response($body, $code, $headers);
}
public static function createRedirectResponse(string $url, int $code = 302, array $headers = []) : ResponseInterface