Skip to content

Commit 1903c60

Browse files
authored
Merge pull request #216 from JMLamodiere/cannot-be-empty-deprecated
cannotBeEmpty on arrayNode is deprecated in symfony 3 and removed in 4
2 parents 28189fa + b4d30c1 commit 1903c60

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
@@ -59,7 +59,7 @@ public function getConfigTreeBuilder()
5959
->canBeEnabled()
6060
->children()
6161
->arrayNode('recipient')
62-
->isRequired()->cannotBeEmpty()
62+
->isRequired()->requiresAtLeastOneElement()
6363
->prototype('scalar')->end()
6464
->beforeNormalization()
6565
->ifString()

0 commit comments

Comments
 (0)