1c5c8d4e172c1757fa057bead5d59257542943f9
[GitHub/WoltLab/WCF.git] /
1 <?php
2
3 declare(strict_types=1);
4
5 namespace CuyZ\Valinor\Mapper\Object\Exception;
6
7 use CuyZ\Valinor\Definition\FunctionDefinition;
8 use LogicException;
9
10 /** @internal */
11 final class MissingConstructorClassTypeParameter extends LogicException
12 {
13 public function __construct(FunctionDefinition $function)
14 {
15 parent::__construct(
16 "Missing first parameter of type `class-string` for the constructor `{$function->signature()}`.",
17 1661516853
18 );
19 }
20 }