From bab7e25c85c78db2710bc9c5b3cf07b65bf0eb29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Frankiewicz?= Date: Tue, 29 Jun 2021 17:11:50 +0200 Subject: [PATCH] [UW-2538] removes broken argument --- src/Service/SurveyService.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Service/SurveyService.php b/src/Service/SurveyService.php index 1312db6..4efb519 100644 --- a/src/Service/SurveyService.php +++ b/src/Service/SurveyService.php @@ -231,7 +231,6 @@ class SurveyService * @param int $surveyId ID of survey * @param bool $onlyCompleted (optional) If is set to true, participants who completed survey are returned only. * Otherwise - all (default behaviour). - * @param array $criteria * @return Collection * * @throws CannotProcessDataException @@ -239,7 +238,7 @@ class SurveyService * @throws UnknownInstanceOfResultItem * @throws UnknownMethodException */ - public function getSurveyParticipants($surveyId, $onlyCompleted = false, array $criteria = []) + public function getSurveyParticipants($surveyId, $onlyCompleted = false) { $hasSurvey = $this ->allParticipants @@ -255,8 +254,6 @@ class SurveyService $offset, $limit, $includeUnused, - $attributes = false, - $criteria ]; try {