| 1 | <?php |
||
| 3 | class DBStaticSurveyAnswer { |
||
| 4 | |||
| 5 | public static function db_survey_answer_insert($survey_id, $survey_answer) { |
||
| 8 | |||
| 9 | public static function db_survey_answer_text_select_by_news($announce) { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param $announce |
||
| 15 | * |
||
| 16 | * @return array|bool|mysqli_result|null |
||
| 17 | */ |
||
| 18 | public static function db_survey_answers_get_list_by_parent($announce) { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param $announce |
||
| 26 | * |
||
| 27 | * @return array|bool|mysqli_result|null |
||
| 28 | */ |
||
| 29 | public static function db_survey_get_answer_texts($announce) { |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param $survey_id |
||
| 44 | * @param $survey_vote_id |
||
| 45 | * |
||
| 46 | * @return array|bool|mysqli_result|null |
||
| 47 | */ |
||
| 48 | public static function db_survey_answer_get($survey_id, $survey_vote_id) { |
||
| 53 | |||
| 54 | } |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: