Skip to content

Commit 447abb0

Browse files
author
Ivan Gavryshko
committed
MAGETWO-40176: Show redundant version when checking component dependency in Magento component manager
- changes according to CR
1 parent afe6a4f commit 447abb0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/InfoCommand.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(MagentoComposerApplication $magentoComposerApplicati
2727
}
2828

2929
/**
30-
* Runs InfoCommand command
30+
* Runs composer info command
3131
*
3232
* @param string $package
3333
* @param bool $installed
@@ -44,9 +44,7 @@ public function run($package, $installed = false)
4444
$result = [];
4545

4646
try {
47-
$output = $this->magentoComposerApplication->runComposerCommand(
48-
$commandParameters
49-
);
47+
$output = $this->magentoComposerApplication->runComposerCommand($commandParameters);
5048
} catch (\RuntimeException $e) {
5149
return false;
5250
}

0 commit comments

Comments
 (0)