Lines 100.00% 1 / 1
Methods 100.00% 1 / 1
Classes 100.00% 1 / 1
Name Lines Methods CRAP
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
29final readonly class LinkList
30{
31    public const string READ = 'link-list:read';
32
33    /**
34     * @param list<LinkSection> $sections
35     * @param list<string>      $problems entries not in the list's format, with their line; not in the API
36     */
37    public function __construct(
38        #[Groups([self::READ])]
39        #[ApiProperty(genId: false)]
40        public array $sections = [],
41        public array $problems = [],
42    ) {
43    }
44}