mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Fix wrong type
This commit is contained in:
parent
b56cc9474f
commit
76e3689fdc
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ final class StatusPaymentRequestCommandProvider implements PaymentRequestCommand
|
|||
{
|
||||
public function supports(PaymentRequestInterface $paymentRequest): bool
|
||||
{
|
||||
return $paymentRequest->getType() === PaymentRequestInterface::DATA_TYPE_CAPTURE;
|
||||
return $paymentRequest->getType() === PaymentRequestInterface::DATA_TYPE_STATUS;
|
||||
}
|
||||
|
||||
public function provide(PaymentRequestInterface $paymentRequest): object
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue