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