8000 minor #41258 [Workflow] Remove useless call to `Definition#addTag()` … · symfony/symfony@2e047c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e047c9

Browse files
committed
minor #41258 [Workflow] Remove useless call to Definition#addTag() (chalasr)
This PR was merged into the 5.2 branch. Discussion ---------- [Workflow] Remove useless call to `Definition#addTag()` | Q | A | ------------- | --- | Branch? | 5.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 324dc75 [Workflow] Remove dead call to `Defnition#addTag()`
2 parents 65e1226 + 324dc75 commit 2e047c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,10 +795,6 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
795795
$definitionDefinition->addArgument($transitions);
796796
$definitionDefinition->addArgument($initialMarking);
797797
$definitionDefinition->addArgument(new Reference(sprintf('%s.metadata_store', $workflowId)));
798-
$definitionDefinition->addTag('workflow.definition', [
799-
'name' => $name,
800-
'type' => $type,
801-
]);
802798

803799
// Create MarkingStore
804800
if (isset($workflow['marking_store']['type'])) {

0 commit comments

Comments
 (0)
0