| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class Document extends AbstractBlock |
||
| 24 | { |
||
| 25 | /** @psalm-readonly */ |
||
| 26 | protected ReferenceMapInterface $referenceMap; |
||
| 27 | |||
| 28 | 2460 | public function __construct(?ReferenceMapInterface $referenceMap = null) |
|
| 35 | } |
||
| 36 | |||
| 37 | 90 | public function getReferenceMap(): ReferenceMapInterface |
|
| 38 | { |
||
| 39 | 90 | return $this->referenceMap; |
|
| 40 | } |
||
| 41 | |||
| 42 | 2 | public function canContain(AbstractBlock $block): bool |
|
| 45 | } |
||
| 46 | |||
| 47 | 2 | public function isCode(): bool |
|
| 50 | } |
||
| 51 | |||
| 52 | 2 | public function matchesNextLine(Cursor $cursor): bool |
|
| 55 | } |
||
| 56 | } |
||
| 57 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.