We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b4dd0 commit 52aabaaCopy full SHA for 52aabaa
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
@@ -268,7 +268,7 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
268
->thenInvalid('"type" and "service" cannot be used together.')
269
->end()
270
->validate()
271
- ->ifTrue(function ($v) { return isset($v['arguments']) && isset($v['service']); })
+ ->ifTrue(function ($v) { return !empty($v['arguments']) && isset($v['service']); })
272
->thenInvalid('"arguments" and "service" cannot be used together.')
273
274
0 commit comments