| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 0 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function __construct( |
||
| 20 | public iterable $values, |
||
| 21 | /** |
||
| 22 | * @var bool whether the comparison is strict (both type and value must be the same) |
||
| 23 | */ |
||
| 24 | public bool $strict = false, |
||
| 25 | public string $iterableMessage = 'Value must be iterable.', |
||
| 26 | public string $subsetMessage = 'Values must be ones of {values}.', |
||
| 27 | public bool $skipOnEmpty = false, |
||
| 28 | public bool $skipOnError = false, |
||
| 29 | public ?Closure $when = null, |
||
| 30 | ) { |
||
| 31 | } |
||
| 49 |