| Total Complexity | 4 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class NestingConsistencyIssue extends AbstractIssue |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | private $secondLine; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var int |
||
| 18 | */ |
||
| 19 | private $firstEndLine; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | private $secondEndLine; |
||
| 25 | |||
| 26 | public function __construct(int $line, int $secondLine, int $firstEndLine, int $secondEndLine) |
||
| 27 | { |
||
| 28 | parent::__construct($line); |
||
| 29 | |||
| 30 | $this->firstEndLine = $firstEndLine; |
||
| 31 | $this->secondLine = $secondLine; |
||
| 32 | $this->secondEndLine = $secondEndLine; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return int |
||
| 37 | */ |
||
| 38 | public function secondLine(): int |
||
| 39 | { |
||
| 40 | return $this->secondLine; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return int |
||
| 45 | */ |
||
| 46 | public function firstEndLine(): int |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return int |
||
| 53 | */ |
||
| 54 | public function secondEndLine(): int |
||
| 57 | } |
||
| 58 | } |
||
| 59 |