projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #22968 from civicrm/5.48
[civicrm-core.git]
/
api
/
v3
/
SurveyRespondant.php
diff --git
a/api/v3/SurveyRespondant.php
b/api/v3/SurveyRespondant.php
index f8b663eecefec1b3cbc7e124f26dbde3543f1967..dd9b4fd7fd674d14b817e2f5eb62e8bda7eeb4be 100644
(file)
--- a/
api/v3/SurveyRespondant.php
+++ b/
api/v3/SurveyRespondant.php
@@
-54,9
+54,9
@@
function _civicrm_api3_survey_respondant_deprecation() {
*
* @return array
*/
*
* @return array
*/
-function civicrm_api3_survey_respondant_get(
&
$params) {
+function civicrm_api3_survey_respondant_get($params) {
- civicrm_api3_verify_one_mandatory($params, NULL,
array('survey_id', 'id')
);
+ civicrm_api3_verify_one_mandatory($params, NULL,
['survey_id', 'id']
);
if (array_key_exists('survey_id', $params)) {
$surveyID = $params['survey_id'];
if (array_key_exists('survey_id', $params)) {
$surveyID = $params['survey_id'];
@@
-70,7
+70,7
@@
function civicrm_api3_survey_respondant_get(&$params) {
$interviewerID = $params['interviewer_id'];
}
$interviewerID = $params['interviewer_id'];
}
- $statusIds =
array()
;
+ $statusIds =
[]
;
if (array_key_exists('status_id', $params)) {
$statusIds = explode(',', $params['status_id']);
}
if (array_key_exists('status_id', $params)) {
$statusIds = explode(',', $params['status_id']);
}