From a65d526d779cd5f5d36a281f7ee93b16be3a74f2 Mon Sep 17 00:00:00 2001 From: kGablo Date: Wed, 6 Mar 2024 11:03:41 +0100 Subject: [PATCH] blik equal --- Validator/AdditionalPaymentInfoValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Validator/AdditionalPaymentInfoValidator.php b/Validator/AdditionalPaymentInfoValidator.php index 9917a42..3de32b1 100644 --- a/Validator/AdditionalPaymentInfoValidator.php +++ b/Validator/AdditionalPaymentInfoValidator.php @@ -15,7 +15,7 @@ public function validateCardData(array $data): bool public function validateBlikIfPresent(array $data): bool { - return 6 !== strlen($data[TpayInterface::BLIK_CODE]); + return 6 === strlen($data[TpayInterface::BLIK_CODE]); } public function validatePresenceOfGroupOrChannel(array $data): bool