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.
2 parents d6a1bed + d0970b8 commit 0d1f448Copy full SHA for 0d1f448
src/Common/Message/AbstractResponse.php
@@ -207,7 +207,7 @@ public function getRedirectResponse()
207
$this->validateRedirect();
208
209
if ('GET' === $this->getRedirectMethod()) {
210
- return HttpRedirectResponse::create($this->getRedirectUrl());
+ return new HttpRedirectResponse($this->getRedirectUrl());
211
}
212
213
$hiddenFields = '';
@@ -241,7 +241,7 @@ public function getRedirectResponse()
241
$hiddenFields
242
);
243
244
- return HttpResponse::create($output);
+ return new HttpResponse($output);
245
246
247
/**
0 commit comments