Skip to content

Commit cd14bbb

Browse files
committed
bug #26657 [Workflow] Fixed default parameters (lyrixx)
This PR was merged into the 4.1-dev branch. Discussion ---------- [Workflow] Fixed default parameters | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- fc303a8 [Workflow] Fixed default parameters
2 parents fb5c6df + eabcca4 commit cd14bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
480480
$type = $workflow['type'];
481481

482482
// Process Metadata (workflow + places (transition is done in the "create transition" block))
483-
$metadataStoreDefinition = new Definition(Workflow\Metadata\InMemoryMetadataStore::class, array(null, null, null));
483+
$metadataStoreDefinition = new Definition(Workflow\Metadata\InMemoryMetadataStore::class, array(array(), array(), null));
484484
if ($workflow['metadata']) {
485485
$metadataStoreDefinition->replaceArgument(0, $workflow['metadata']);
486486
}

0 commit comments

Comments
 (0)