From 48fbefa61907cd1a722e7336d889356ab2eaaa0d Mon Sep 17 00:00:00 2001 From: Jakub Turek Date: Sun, 8 Mar 2015 12:39:34 +0100 Subject: [PATCH] Correct syntax for arrays --- Mage/Command/AbstractCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/Command/AbstractCommand.php b/Mage/Command/AbstractCommand.php index 18d045a..0d45d5f 100644 --- a/Mage/Command/AbstractCommand.php +++ b/Mage/Command/AbstractCommand.php @@ -116,7 +116,7 @@ abstract class AbstractCommand */ public function addUsageExample($snippet, $description = '') { - array_push($this->usageExamples, [$snippet, $description]); + array_push($this->usageExamples, array($snippet, $description)); return $this; }