Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
23 | class Document extends AbstractBlock |
||
24 | { |
||
25 | /** |
||
26 | * @var ReferenceMapInterface |
||
27 | * |
||
28 | * @psalm-readonly |
||
29 | */ |
||
30 | protected $referenceMap; |
||
31 | |||
32 | 3066 | public function __construct(?ReferenceMapInterface $referenceMap = null) |
|
39 | 3066 | } |
|
40 | |||
41 | 102 | public function getReferenceMap(): ReferenceMapInterface |
|
42 | { |
||
43 | 102 | return $this->referenceMap; |
|
44 | } |
||
45 | |||
46 | 3 | public function canContain(AbstractBlock $block): bool |
|
49 | } |
||
50 | |||
51 | 3 | public function isCode(): bool |
|
54 | } |
||
55 | |||
56 | 3 | public function matchesNextLine(Cursor $cursor): bool |
|
59 | } |
||
60 | } |
||
61 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.