Lines 0.00% 0 / 1
Functions and Methods 0.00% 0 / 1
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
EntityIdParameter 0.00% 0 / 1 0.00% 0 / 1 2 0.00% 0 / 1
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\PHPStan\Rule;
6
7final readonly class EntityIdParameter
8{
9    /** @param class-string $class */
10    public function __construct(
11        public string $class,
12        public string $method,
13        public string $name,
14        public int $position = 0,
15        public bool $variadic = false,
16    ) {}
17}