Skip to content

Commit 48ed637

Browse files
Nguyen Xuan Quynhnicolas-grekas
authored andcommitted
Remove duplicate condition
1 parent fb4900e commit 48ed637

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Command/Command.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,13 @@ public function mergeApplicationDefinition($mergeArgs = true)
303303

304304
$this->definition->addOptions($this->application->getDefinition()->getOptions());
305305

306+
$this->applicationDefinitionMerged = true;
307+
306308
if ($mergeArgs) {
307309
$currentArguments = $this->definition->getArguments();
308310
$this->definition->setArguments($this->application->getDefinition()->getArguments());
309311
$this->definition->addArguments($currentArguments);
310-
}
311312

312-
$this->applicationDefinitionMerged = true;
313-
if ($mergeArgs) {
314313
$this->applicationDefinitionMergedWithArgs = true;
315314
}
316315
}

0 commit comments

Comments
 (0)