From 7551f6db952c0dd8c1ad06b6fc037778cf0d3e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Frankiewicz?= Date: Wed, 8 Jul 2020 08:54:26 +0200 Subject: [PATCH] [UW-2256] adds criteria parameter --- src/Service/SurveyService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {