mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Implemented SurveyChoice object
This commit is contained in:
		@@ -67,7 +67,7 @@ class Survey extends BaseUniqueObjectFromUser {
 | 
			
		||||
		$this->choices = $choices;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public function add_choice(array $choice){
 | 
			
		||||
	public function add_choice(SurveyChoice $choice){
 | 
			
		||||
		$this->choices[] = $choice;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user