8000
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 0bc39e8 commit c21548fCopy full SHA for c21548f
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
@@ -496,6 +496,10 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
496
return $transitions;
497
}
498
499
+ if (!is_array($transitions)) {
500
+ throw new InvalidConfigurationException('The "transitions" option must be an array of arrays in workflow configuration.');
501
+ }
502
+
503
foreach ($transitions as $name => $transition) {
504
if (\is_array($transition) && \array_key_exists('name', $transition)) {
505
continue;
0 commit comments