mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 17:10:18 +01: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 = '')
 | 
					    public function addUsageExample($snippet, $description = '')
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        array_push($this->usageExamples, [$snippet, $description]);
 | 
					        array_push($this->usageExamples, array($snippet, $description));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return $this;
 | 
					        return $this;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user