| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 5 | final class ErrorResult implements ResultInterface |
||
| 6 | { |
||
| 7 | /** @var int */ |
||
| 8 | private $type; |
||
| 9 | |||
| 10 | /** @var int */ |
||
| 11 | private $line; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | private $use; |
||
| 15 | |||
| 16 | public function __construct(int $line, string $use, int $type) |
||
| 21 | } |
||
| 22 | |||
| 23 | public function get(): String |
||
| 24 | { |
||
| 25 | return $this->use; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getType(): int |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getUse(): string |
||
| 34 | { |
||
| 35 | return $this->use; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getLine(): int |
||
| 41 | } |
||
| 42 | } |
||
| 43 |