Fix wrong type

This commit is contained in:
Francis Hilaire 2024-02-22 20:01:32 +01:00 committed by Grzegorz Sadowski
parent b56cc9474f
commit 76e3689fdc
No known key found for this signature in database
GPG key ID: EF87FF4E6E3BD364

View file

@ -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