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