Skip to content

Commit 2e27790

Browse files
👌 change type hint to parameter type
1 parent b011040 commit 2e27790

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/code/Magento/Indexer/Console/Command/IndexerStatusCommand.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
6464

6565
usort(
6666
$rows,
67-
function ($comp1, $comp2) {
68-
/**
69-
* @var array $comp1
70-
* @var array $comp2
71-
*/
67+
function (array $comp1, array $comp2) {
7268
return strcmp($comp1['Title'], $comp2['Title']);
7369
}
7470
);

0 commit comments

Comments
 (0)