Skip to content

Commit 7ff7b3d

Browse files
committed
Fixing array declaration for ancient PHP support
1 parent 7d47bf3 commit 7ff7b3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/MageDownload/Command/DownloadCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function testCommandFolderDestination()
174174
public function testCommandWithPrompts()
175175
{
176176
$command = $this->getApplication()->find(DownloadCommand::NAME);
177-
$command->setHelperSet(new HelperSet([new DialogHelper]));
177+
$command->setHelperSet(new HelperSet(array(new DialogHelper)));
178178
$commandTester = new CommandTester($command);
179179
$command->getHelper('dialog')->setInputStream($this->getInputStream("1\n0\n0\n"));
180180
$result = $commandTester->execute(array(

0 commit comments

Comments
 (0)