| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | #[\Override] |
||
| 48 | public function validate(EditableConfig $config, array $configuration): void |
||
| 49 | { |
||
| 50 | if (!\array_key_exists($this->key, $configuration)) { |
||
| 51 | return; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** @var mixed $value */ |
||
| 55 | $value = $configuration[$this->key]; |
||
| 56 | |||
| 57 | $this->validateValue($config, $value); |
||
| 58 | } |
||
| 60 |