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 | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function create(array $resolverArgs): InputValidator |
||
| 32 | { |
||
| 33 | if (null === $this->defaultValidator) { |
||
| 34 | 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'"); |
||
| 35 | } |
||
| 36 | |||
| 37 | return new InputValidator( |
||
| 38 | $resolverArgs, |
||
| 39 | $this->defaultValidator, |
||
| 40 | $this->constraintValidatorFactory, |
||
|
|
|||
| 41 | $this->defaultTranslator |
||
| 42 | ); |
||
| 45 |