Browse Source

Correct syntax for arrays

1.0
Jakub Turek 10 years ago
parent
commit
48fbefa619
  1. 2
      Mage/Command/AbstractCommand.php

2
Mage/Command/AbstractCommand.php

@ -116,7 +116,7 @@ abstract class AbstractCommand
*/ */
public function addUsageExample($snippet, $description = '') public function addUsageExample($snippet, $description = '')
{ {
array_push($this->usageExamples, [$snippet, $description]); array_push($this->usageExamples, array($snippet, $description));
return $this; return $this;
} }

Loading…
Cancel
Save