[UW-2538] removes broken argument

This commit is contained in:
Michał Frankiewicz
2021-06-29 17:11:50 +02:00
parent 6423195cc6
commit bab7e25c85

View File

@@ -231,7 +231,6 @@ class SurveyService
* @param int $surveyId ID of survey * @param int $surveyId ID of survey
* @param bool $onlyCompleted (optional) If is set to true, participants who completed survey are returned only. * @param bool $onlyCompleted (optional) If is set to true, participants who completed survey are returned only.
* Otherwise - all (default behaviour). * Otherwise - all (default behaviour).
* @param array $criteria
* @return Collection * @return Collection
* *
* @throws CannotProcessDataException * @throws CannotProcessDataException
@@ -239,7 +238,7 @@ class SurveyService
* @throws UnknownInstanceOfResultItem * @throws UnknownInstanceOfResultItem
* @throws UnknownMethodException * @throws UnknownMethodException
*/ */
public function getSurveyParticipants($surveyId, $onlyCompleted = false, array $criteria = []) public function getSurveyParticipants($surveyId, $onlyCompleted = false)
{ {
$hasSurvey = $this $hasSurvey = $this
->allParticipants ->allParticipants
@@ -255,8 +254,6 @@ class SurveyService
$offset, $offset,
$limit, $limit,
$includeUnused, $includeUnused,
$attributes = false,
$criteria
]; ];
try { try {