array_filter
This commit is contained in:
		
							parent
							
								
									536874ef9c
								
							
						
					
					
						commit
						2e98706531
					
				| @ -23,8 +23,8 @@ class FileOptions | ||||
| 
 | ||||
|     public function toArray(): array | ||||
|     { | ||||
|         return [ | ||||
|         return array_filter([ | ||||
|             'name' => $this->name | ||||
|         ]; | ||||
|         ]); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user