| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | protected static function configureOptionResolver(OptionsResolver $resolver) |
||
| 24 | { |
||
| 25 | $resolver->setDefaults([ |
||
| 26 | 'httplug_client' => null, |
||
| 27 | 'region' => null, |
||
| 28 | 'api_key' => null, |
||
| 29 | ]); |
||
| 30 | |||
| 31 | $resolver->setAllowedTypes('httplug_client', [HttpClient::class, 'null']); |
||
| 32 | $resolver->setAllowedTypes('region', ['string', 'null']); |
||
| 33 | $resolver->setAllowedTypes('api_key', ['string', 'null']); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |