@@ -25,9 +25,9 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @param $template |
|
| 29 | - * @param $query_where |
|
| 30 | - * @param $query_limit |
|
| 28 | + * @param template $template |
|
| 29 | + * @param string $query_where |
|
| 30 | + * @param integer $query_limit |
|
| 31 | 31 | * |
| 32 | 32 | * @return array|bool|mysqli_result|null |
| 33 | 33 | */ |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * @param $user |
| 18 | 18 | * @param $survey_id |
| 19 | 19 | * @param $survey_vote_id |
| 20 | - * @param $user_name_safe |
|
| 20 | + * @param string $user_name_safe |
|
| 21 | 21 | */ |
| 22 | 22 | public static function db_survey_vote_insert(&$user, $survey_id, $survey_vote_id, $user_name_safe) { |
| 23 | 23 | doquery("INSERT INTO {{survey_votes}} SET `survey_parent_id` = {$survey_id}, `survey_parent_answer_id` = {$survey_vote_id}, `survey_vote_user_id` = {$user['id']}, `survey_vote_user_name` = '{$user_name_safe}';"); |