Small fix

This commit is contained in:
Guilhem N 2018-01-13 14:12:30 +01:00 committed by GitHub
parent b5fb133533
commit b5b0eb1c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,7 @@ final class Configuration implements ConfigurationInterface
->end()
->arrayNode('areas')
->info('Filter the routes that are documented')
->defaultValue(['default' => ['path_patterns' => []]])
->beforeNormalization()
->ifTrue(function ($v) {
return empty($v) or isset($v['path_patterns']);