mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 08:35:18 +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