| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | final class ErrorResult implements ResultInterface |
||
| 6 | { |
||
| 7 | /** @var string */ |
||
| 8 | private $value; |
||
|
|
|||
| 9 | |||
| 10 | /** @var int */ |
||
| 11 | private $type; |
||
| 12 | |||
| 13 | /** @var int */ |
||
| 14 | private $line; |
||
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | private $use; |
||
| 18 | |||
| 19 | |||
| 20 | public function __construct(int $line, string $use,int $type) |
||
| 25 | } |
||
| 26 | |||
| 27 | public function get(): String |
||
| 28 | { |
||
| 29 | return \Safe\sprintf("\t > ERROR Line: %d of use %s ",$this->line,$this->use); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getType(): int |
||
| 35 | } |
||
| 36 | } |
||
| 37 |