| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Issue |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | private $line; |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $text; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Issue constructor. |
||
| 20 | * @param int $line |
||
| 21 | * @param string $text |
||
| 22 | */ |
||
| 23 | 1 | public function __construct(int $line, string $text) |
|
| 27 | 1 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return int |
||
| 31 | */ |
||
| 32 | 1 | public function getLine(): int |
|
| 33 | { |
||
| 34 | 1 | return $this->line; |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 1 | public function getText(): string |
|
| 43 | } |
||
| 44 | } |