| Total Complexity | 6 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | final class Skip implements Result |
||
| 13 | { |
||
| 14 | public function __construct(private string $unparsed) {} |
||
| 15 | |||
| 16 | public static function upTo(string $unparsed): Result |
||
| 17 | { |
||
| 18 | return new self($unparsed); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function data(): mixed |
||
| 22 | { |
||
| 23 | return null; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function unparsed(): string |
||
| 29 | } |
||
| 30 | |||
| 31 | public function ok(): bool |
||
| 32 | { |
||
| 33 | return true; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function use(): bool |
||
| 39 | } |
||
| 40 | } |
||
| 41 |