| Total Complexity | 4 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 15 | final class Sequence implements Type | ||
| 16 | { | ||
| 17 | /** | ||
| 18 |      * {@inheritdoc} | ||
| 19 | */ | ||
| 20 | 2 | public function accepts($value): bool | |
| 23 | } | ||
| 24 | |||
| 25 | /** | ||
| 26 |      * {@inheritdoc} | ||
| 27 | */ | ||
| 28 | 14 | public static function fromString(Str $value): Type | |
| 29 |     { | ||
| 30 | 14 |         if ((string) $value !== 'sequence') { | |
| 31 | 12 | throw new ValueNotSupported((string) $value); | |
| 32 | } | ||
| 33 | |||
| 34 | 2 | return new self; | |
| 35 | } | ||
| 36 | |||
| 37 | /** | ||
| 38 |      * {@inheritdoc} | ||
| 39 | */ | ||
| 40 | 1 | public function __toString(): string | |
| 43 | } | ||
| 44 | } | ||
| 45 |