fix sf4 deprecated: cannotBeEmpty() is not allowed with arrayNode

This commit is contained in:
2020-07-22 12:48:06 +02:00
parent 97a4deb159
commit fb5f3532a1
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class PersonListWidgetFactory extends AbstractWidgetFactory
->info("Add some custom field to the view. Add the slug of some custom field"
. " if you want to override the view and show their value in the list")
->example(array("custom-field-slug-1", "custom-field-slug-2"))
->cannotBeEmpty()
->requiresAtLeastOneElement()
->end();
}