| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class NumberFactory implements TranslatableFactoryInterface |
||
| 11 | { |
||
| 12 | use FactoryTrait; |
||
| 13 | |||
| 14 | const TYPE = 'numeric'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | 1 | public function create(SymfonyConstraint $constraint): Constraint |
|
| 25 | ]); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritdoc |
||
| 30 | */ |
||
| 31 | 1 | public function supports(SymfonyConstraint $constraint): bool |
|
| 36 |