| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class EmptySectionIssue extends AbstractIssue |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | private $endLine; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * EmptySectionIssue constructor. |
||
| 18 | * |
||
| 19 | * @param int $line |
||
| 20 | * @param TokenInterface[] $tokens |
||
| 21 | */ |
||
| 22 | public function __construct(int $line, int $endLine) |
||
| 23 | { |
||
| 24 | parent::__construct($line); |
||
| 25 | |||
| 26 | $this->endLine = $endLine; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | public function startLine(): int |
||
| 35 | } |
||
| 36 | |||
| 37 | public function endLine() |
||
| 42 |