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