fixed config definition

This commit is contained in:
2024-09-13 04:22:40 +02:00
parent 876f356009
commit e9c4f4bca6

View File

@@ -28,12 +28,14 @@ final class Configuration implements ConfigurationInterface
->isRequired()
->end()
->arrayNode('cache')
->scalarNode('ttl')
->info('TTL for cached API calls')
->example([1800, 'P30M'])
->defaultValue(1800)
->cannotBeEmpty()
->isRequired()
->children()
->scalarNode('ttl')
->info('TTL for cached API calls')
->example([1800, 'P30M'])
->defaultValue(1800)
->cannotBeEmpty()
->isRequired()
->end()
->end()
->end()
->end();