Skip to content

Commit f5b6bbf

Browse files
committed
Workaround for a PHP5.6 only namespace context issue.
1 parent 39a17ef commit f5b6bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Message/Form/CompleteAuthorizeRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
use Omnipay\SagePay\Message\AbstractRequest;
10-
use Omnipay\SagePay\Message\Response;
10+
use Omnipay\SagePay\Message\Response as GenericResponse;
1111

1212
class CompleteAuthorizeRequest extends AbstractRequest
1313
{
@@ -50,7 +50,7 @@ public function getData()
5050
*/
5151
public function sendData($data)
5252
{
53-
return $this->response = new Response($this, $data);
53+
return $this->response = new GenericResponse($this, $data);
5454
}
5555

5656
public function getCrypt()

0 commit comments

Comments
 (0)