mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-01 21:32:16 +02:00
Correct syntax for arrays
This commit is contained in:
parent
fb236c1bb3
commit
48fbefa619
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue