| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 92.31% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class Validator implements ValidatorInterface |
||
| 11 | { |
||
| 12 | private ?FormatterInterface $formatter; |
||
| 13 | |||
| 14 | 1 | public function __construct(?FormatterInterface $formatter = null) |
|
| 17 | 1 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @param DataSetInterface $dataSet |
||
| 21 | * @param Rule[] $rules |
||
| 22 | * |
||
| 23 | * @return ResultSet |
||
| 24 | */ |
||
| 25 | 1 | public function validate(DataSetInterface $dataSet, iterable $rules): ResultSet |
|
| 41 |