Minor refactoring

This commit is contained in:
Meritoo
2017-10-27 10:49:10 +02:00
parent 472807ee33
commit cdbee2991c
8 changed files with 80 additions and 78 deletions

View File

@@ -13,7 +13,7 @@ use Meritoo\Common\Exception\Method\DisabledMethodException;
use Meritoo\LimeSurvey\ApiClient\Result\Item\ParticipantShort;
/**
* Collection of participants (of surveys).
* Collection of participants' short data.
* All participants grouped per survey.
*
* It's a collection of participants' collections.

View File

@@ -36,7 +36,7 @@ class ParticipantService
private $client;
/**
* Collection of participants (of surveys).
* Collection of participants' short data.
* All participants grouped per survey.
*
* @var Participants
@@ -47,7 +47,7 @@ class ParticipantService
* Class constructor
*
* @param Client $client Client of the LimeSurvey's API
* @param Participants $allParticipants (optional) Collection of participants (of surveys). All participants
* @param Participants $allParticipants (optional) Collection of participants' short data. All participants
* grouped per survey.
*/
public function __construct(Client $client, Participants $allParticipants = null)
@@ -181,7 +181,7 @@ class ParticipantService
}
/**
* Returns short data of one participant with given e-mail of given survey
* Returns short data of one participant with given e-mail (participant of given survey)
*
* @param int $surveyId ID of survey
* @param string $email E-mail address of the participant
@@ -200,7 +200,7 @@ class ParticipantService
}
/**
* Returns full data of participant with given e-mail of given survey
* Returns full data of participant with given e-mail (participant of given survey)
*
* @param int $surveyId ID of survey
* @param string $email E-mail address of the participant