3 declare(strict_types=1);
5 namespace CuyZ\Valinor\Type\Parser\Exception\Generic;
7 use CuyZ\Valinor\Type\Parser\Exception\InvalidType;
12 final class SeveralExtendTagsFound extends RuntimeException implements InvalidType
15 * @param ReflectionClass<object> $reflection
17 public function __construct(ReflectionClass $reflection)
20 "Only one `@extends` tag should be set for the class `$reflection->name`.",