Skip to content

Commit a70f188

Browse files
committed
Remove unused local variable
1 parent a93662d commit a70f188

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Command/WorkflowDumpCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9191
{
9292
$workflowName = $input->getArgument('name');
9393

94-
$workflow = null;
95-
9694
if (isset($this->workflows)) {
9795
if (!$this->workflows->has($workflowName)) {
9896
throw new InvalidArgumentException(sprintf('The workflow named "%s" cannot be found.', $workflowName));

Console/Descriptor/XmlDescriptor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ protected function describeContainerDeprecations(ContainerBuilder $builder, arra
120120
$dom = new \DOMDocument('1.0', 'UTF-8');
121121
$dom->appendChild($deprecationsXML = $dom->createElement('deprecations'));
122122

123-
$formattedLogs = [];
124123
$remainingCount = 0;
125124
foreach ($logs as $log) {
126125
$deprecationsXML->appendChild($deprecationXML = $dom->createElement('deprecation'));

0 commit comments

Comments
 (0)