| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | protected static function configureOptionResolver(OptionsResolver $resolver) |
||
| 32 | { |
||
| 33 | $resolver->setDefaults([ |
||
| 34 | 'httplug_client' => null, |
||
| 35 | 'region' => null, |
||
| 36 | 'api_key' => null, |
||
| 37 | ]); |
||
| 38 | |||
| 39 | $resolver->setAllowedTypes('httplug_client', [HttpClient::class, 'null']); |
||
| 40 | $resolver->setAllowedTypes('region', ['string', 'null']); |
||
| 41 | $resolver->setAllowedTypes('api_key', ['string', 'null']); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |