I've got an error using new symfony/validator version
$method = new Cardinity\Method\Payment\Get($invoiceId);
$payment = $client->call($method);
The options "fields" must be set for constraint "Symfony\Component\Validator\Constraints\Collection".
the error is reproducing for all methods with empty validation constraints
public function getValidationConstraints()
{
return new Assert\Collection([]);
}
I've got an error using new symfony/validator version
The options "fields" must be set for constraint "Symfony\Component\Validator\Constraints\Collection".the error is reproducing for all methods with empty validation constraints