Open nfourtythree opened 1 year ago
Currently FetchTransactionResponse is redeclaring the getRedirectData() method and always returning null.
FetchTransactionResponse
getRedirectData()
null
This return type does not match the documented and implemented return in Omnipay Common's AbstractResponse
AbstractResponse
See here: https://github.com/thephpleague/omnipay-common/blob/master/src/Common/Message/AbstractResponse.php#L179-L187
This PR fixes the issue by removing the redeclaration of the method in the class as the inherited implementation does everything that is required.
Currently
FetchTransactionResponse
is redeclaring thegetRedirectData()
method and always returningnull
.This return type does not match the documented and implemented return in Omnipay Common's
AbstractResponse
See here: https://github.com/thephpleague/omnipay-common/blob/master/src/Common/Message/AbstractResponse.php#L179-L187
This PR fixes the issue by removing the redeclaration of the method in the class as the inherited implementation does everything that is required.