Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2019-08-19 09:24:48 +0300
committerdartcafe <github@dartcafe.de>2019-08-19 09:24:48 +0300
commit513bfb7bcc0c7356c1b44e6524f1c682d56d4bd0 (patch)
tree5dd65a57ed25f22b4363949394a6f59cc04a50c1 /lib/Db/VoteMapper.php
parent8f6cc5cc2634fad256f850194853bec17a4189d4 (diff)
fixes
Diffstat (limited to 'lib/Db/VoteMapper.php')
-rw-r--r--lib/Db/VoteMapper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Db/VoteMapper.php b/lib/Db/VoteMapper.php
index a49e6150..f95d158f 100644
--- a/lib/Db/VoteMapper.php
+++ b/lib/Db/VoteMapper.php
@@ -41,7 +41,7 @@ class VoteMapper extends QBMapper {
/**
* @param int $pollId
* @throws \OCP\AppFramework\Db\DoesNotExistException if not found
- * @return Comment[]
+ * @return array
*/
public function findByPoll($pollId) {
@@ -59,7 +59,7 @@ class VoteMapper extends QBMapper {
/**
* @param int $pollId
* @throws \OCP\AppFramework\Db\DoesNotExistException if not found
- * @return Comment[]
+ * @return Vote
*/
public function findSingleVote($pollId, $optionText, $userId) {
@@ -82,9 +82,9 @@ class VoteMapper extends QBMapper {
/**
* @param int $pollId
* @throws \OCP\AppFramework\Db\DoesNotExistException if not found
- * @return Array
+ * @return array
*/
- public function findParticipantsByPoll($pollId, $limit = null, $offset = null) {
+ public function findParticipantsByPoll($pollId) {
$qb = $this->db->getQueryBuilder();
$qb->select('user_id')