Skip to content

Commit 72340aa

Browse files
Merge branch '3.4' into 4.3
* 3.4: Fix inconsistent return points. Fix remaining tests
2 parents 6e1ab87 + 65ab825 commit 72340aa

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
@@ -225,7 +225,7 @@ private function addWorkflowSection(ArrayNodeDefinition $rootNode)
225225
->canBeEnabled()
226226
->beforeNormalization()
227227
->always(function ($v) {
228-
if (true === $v['enabled']) {
228+
if (\is_array($v) && true === $v['enabled']) {
229229
$workflows = $v;
230230
unset($workflows['enabled']);
231231

0 commit comments

Comments
 (0)