| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | 1 | protected function configureOptions(OptionsResolver $resolver): void |
|
| 32 | { |
||
| 33 | // available options |
||
| 34 | 1 | $resolver->setDefined($this->elements); |
|
| 35 | |||
| 36 | // validate / format options |
||
| 37 | 1 | $resolver->setNormalizer('recyclingContribText', $this->normalizerFactory->getClosure('string64')); |
|
| 38 | 1 | $resolver->setNormalizer('recyclingContribAmount', $this->normalizerFactory->getClosure('float')); |
|
| 39 | 1 | $resolver->setNormalizer('recyclingContribUnit', $this->normalizerFactory->getClosure('string10')); |
|
| 40 | 1 | $resolver->setNormalizer('coefficientOfRecyclingContrib', $this->normalizerFactory->getClosure('float')); |
|
| 41 | } |
||
| 43 |