diff --git a/src/Service/SurveyService.php b/src/Service/SurveyService.php index b6c3bb3..b2a9272 100644 --- a/src/Service/SurveyService.php +++ b/src/Service/SurveyService.php @@ -228,7 +228,7 @@ class SurveyService * * @throws CannotProcessDataException */ - public function getSurveyParticipants($surveyId, $onlyCompleted = false) + public function getSurveyParticipants($surveyId, $onlyCompleted = false, array $criteria = []) { $hasSurvey = $this ->allParticipants @@ -244,6 +244,8 @@ class SurveyService $offset, $limit, $includeUnused, + $attributes = false, + $criteria ]; try {