Skip to content

Commit 5d57de4

Browse files
committed
clean up unused variables
1 parent a888c37 commit 5d57de4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -885,8 +885,6 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
885885

886886
$registryDefinition = $container->getDefinition('.workflow.registry');
887887

888-
$workflow = [];
889-
890888
foreach ($config['workflows'] as $name => $workflow) {
891889
$type = $workflow['type'];
892890
$workflowId = sprintf('%s.%s', $type, $name);
@@ -974,8 +972,6 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
974972
$definitionDefinition->addArgument($initialMarking);
975973
$definitionDefinition->addArgument(new Reference(sprintf('%s.metadata_store', $workflowId)));
976974

977-
$workflows[$workflowId] = $definitionDefinition;
978-
979975
// Create MarkingStore
980976
if (isset($workflow['marking_store']['type'])) {
981977
$markingStoreDefinition = new ChildDefinition('workflow.marking_store.method');

0 commit comments

Comments
 (0)