mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-04 00:18:56 +02:00
Correct syntax for arrays
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user