272e441263375ba32f674308f13467fc46c26109
[GitHub/WoltLab/WCF.git] /
1 <?php
2
3 declare(strict_types=1);
4
5 namespace CuyZ\Valinor\Normalizer\Exception;
6
7 use CuyZ\Valinor\Definition\FunctionDefinition;
8 use LogicException;
9
10 /** @internal */
11 final class TransformerHasNoParameter extends LogicException
12 {
13 public function __construct(FunctionDefinition $function)
14 {
15 parent::__construct(
16 "Transformer must have at least one parameter, none given for `{$function->signature()}`.",
17 1695064946,
18 );
19 }
20 }