src/Lib/PaymentGateway/ChargeResponse.php
Method loadValidatorMetadata
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function loadValidatorMetadata(ClassMetadata $metadata)
{
$metadata->addPropertyConstraint('externalId', new Assert\NotBlank);
$metadata->addPropertyConstraint('externalId', new Assert\Length([
'max' => 255,