3 declare(strict_types=1);
5 namespace CuyZ\Valinor\Normalizer\Exception;
7 use CuyZ\Valinor\Definition\FunctionDefinition;
11 final class TransformerHasTooManyParameters extends LogicException
13 public function __construct(FunctionDefinition $function)
16 "Transformer must have at most 2 parameters, {$function->parameters()->count()} given for `{$function->signature()}`.",