Skip to content

Commit 178e691

Browse files
GuilhemNdunglas
authored andcommitted
Remove the usage of NumericNodeDefinition::cannotBeEmpty()
1 parent 64493d8 commit 178e691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getConfigTreeBuilder()
5656
->arrayNode('items_per_page')
5757
->addDefaultsIfNotSet()
5858
->children()
59-
->integerNode('number')->min(1)->defaultValue(30)->cannotBeEmpty()->info('The default number of items perm page in collections.')->end()
59+
->integerNode('number')->min(1)->defaultValue(30)->info('The default number of items perm page in collections.')->end()
6060
->booleanNode('enable_client_request')->defaultValue(false)->info('Allow the client to change the number of elements by page.')->end()
6161
->scalarNode('parameter_name')->defaultValue('itemsPerPage')->info('The name of the parameter to change the number of elements by page client side.')->end()
6262
->end()

0 commit comments

Comments
 (0)