mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Small fix
This commit is contained in:
parent
b5fb133533
commit
b5b0eb1c16
@ -48,6 +48,7 @@ final class Configuration implements ConfigurationInterface
|
|||||||
->end()
|
->end()
|
||||||
->arrayNode('areas')
|
->arrayNode('areas')
|
||||||
->info('Filter the routes that are documented')
|
->info('Filter the routes that are documented')
|
||||||
|
->defaultValue(['default' => ['path_patterns' => []]])
|
||||||
->beforeNormalization()
|
->beforeNormalization()
|
||||||
->ifTrue(function ($v) {
|
->ifTrue(function ($v) {
|
||||||
return empty($v) or isset($v['path_patterns']);
|
return empty($v) or isset($v['path_patterns']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user