@@ -94,6 +94,7 @@ |
||
94 | 94 | |
95 | 95 | /** |
96 | 96 | * @inheritDoc |
97 | + * @return string |
|
97 | 98 | */ |
98 | 99 | function get() { |
99 | 100 | if ($this->card) { |
@@ -99,6 +99,9 @@ discard block |
||
99 | 99 | $this->currentUser = $userId; |
100 | 100 | } |
101 | 101 | |
102 | + /** |
|
103 | + * @param \OCP\AppFramework\Db\Entity $card |
|
104 | + */ |
|
102 | 105 | public function enrich($card) { |
103 | 106 | $cardId = $card->getId(); |
104 | 107 | $this->cardMapper->mapOwner($card); |
@@ -153,7 +156,7 @@ discard block |
||
153 | 156 | /** |
154 | 157 | * @param $title |
155 | 158 | * @param $stackId |
156 | - * @param $type |
|
159 | + * @param string $type |
|
157 | 160 | * @param integer $order |
158 | 161 | * @param $description |
159 | 162 | * @param $owner |
@@ -582,7 +585,7 @@ discard block |
||
582 | 585 | /** |
583 | 586 | * @param $cardId |
584 | 587 | * @param $userId |
585 | - * @return bool|null|\OCP\AppFramework\Db\Entity |
|
588 | + * @return AssignedUsers|null |
|
586 | 589 | * @throws BadRequestException |
587 | 590 | * @throws \OCA\Deck\NoPermissionException |
588 | 591 | * @throws \OCP\AppFramework\Db\DoesNotExistException |