We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | public function create(ResolverArgs $args): InputValidator |
||
33 | { |
||
34 | if (null === $this->defaultValidator) { |
||
35 | throw new ServiceNotFoundException("The 'validator' service is not found. To use the 'InputValidator' you need to install the Symfony Validator Component first. See: 'https://symfony.com/doc/current/validation.html'"); |
||
36 | } |
||
37 | |||
38 | return new InputValidator( |
||
39 | $args, |
||
40 | $this->defaultValidator, |
||
41 | $this->constraintValidatorFactory, |
||
|
|||
42 | $this->defaultTranslator |
||
43 | ); |
||
46 |