Passed
Pull Request — master (#464)
by Maxence
02:25
created
lib/Service/PermissionService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 	/**
90 90
 	 * Get current user permissions for a board
91 91
 	 *
92
-	 * @param Board|Entity $board
92
+	 * @param Board $board
93 93
 	 * @return array|bool
94 94
 	 * @internal param $boardId
95 95
 	 */
Please login to merge, or discard this patch.
lib/Db/CardMapper.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
 	/**
94 94
 	 * @param $id
95
-	 * @return RelationalEntity if not found
95
+	 * @return Entity if not found
96 96
 	 * @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
97 97
 	 * @throws \OCP\AppFramework\Db\DoesNotExistException
98 98
 	 */
@@ -136,6 +136,9 @@  discard block
 block discarded – undo
136 136
 		return parent::delete($entity);
137 137
 	}
138 138
 
139
+	/**
140
+	 * @param integer $stackId
141
+	 */
139 142
 	public function deleteByStack($stackId) {
140 143
 		$cards = $this->findAllByStack($stackId);
141 144
 		foreach ($cards as $card) {
Please login to merge, or discard this patch.
lib/Db/AssignedUsersMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 	 * Check if user exists before assigning it to a card
64 64
 	 *
65 65
 	 * @param Entity $entity
66
-	 * @return null|Entity
66
+	 * @return AssignedUsers|null
67 67
 	 */
68 68
 	public function insert(Entity $entity) {
69 69
 		$user = $this->userManager->get($entity->getParticipant());
Please login to merge, or discard this patch.
lib/Service/BoardService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
 		$this->permissionService->checkPermission($this->boardMapper, $id, Acl::PERMISSION_READ);
213 213
 		$board = $this->find($id);
214 214
 		$board->setDeletedAt(0);
215
-		$update =  $this->boardMapper->update($board);
215
+		$update = $this->boardMapper->update($board);
216 216
 
217 217
 		$this->eventDispatcher->dispatch(
218 218
 			'\OCA\Deck::onBoardUpdate', new GenericEvent(null, ['id' => $id])
Please login to merge, or discard this patch.