Skip to content

Commit 72046fb

Browse files
committed
Support php 5.3, remove short array syntax
1 parent dd28771 commit 72046fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AntiMattr/MongoDB/Migrations/Tools/Console/Command/StatusCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function execute(InputInterface $input, OutputInterface $output)
112112
if ($input->getOption('show-versions')) {
113113
if ($migrations = $configuration->getMigrations()) {
114114
$output->writeln("\n <info>==</info> Available Migration Versions\n");
115-
$rows = [];
115+
$rows = array();
116116
$migratedVersions = $configuration->getMigratedVersions();
117117

118118
foreach ($migrations as $version) {
@@ -136,7 +136,7 @@ public function execute(InputInterface $input, OutputInterface $output)
136136
$desc = substr($desc, 0, 78).'...';
137137
}
138138

139-
$rows[] = [$versionTxt, $status, $desc];
139+
$rows[] = array($versionTxt, $status, $desc);
140140
}
141141

142142
$table = new Table($output);

0 commit comments

Comments
 (0)