Passed
Push — master ( eb262a...4a5699 )
by Morris
02:44
created
lib/Service/StackService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
 		return $stacks;
86 86
 	}
87 87
 
88
+	/**
89
+	 * @param integer $order
90
+	 */
88 91
 	public function create($title, $boardId, $order) {
89 92
 		$this->permissionService->checkPermission(null, $boardId, Acl::PERMISSION_MANAGE);
90 93
 		if($this->boardService->isArchived(null, $boardId)) {
Please login to merge, or discard this patch.
lib/Service/CardService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
 		return $card;
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param integer $order
55
+	 */
53 56
 	public function create($title, $stackId, $type, $order, $owner) {
54 57
 		$this->permissionService->checkPermission($this->stackMapper, $stackId, Acl::PERMISSION_EDIT);
55 58
 		if($this->boardService->isArchived($this->stackMapper, $stackId)) {
Please login to merge, or discard this patch.
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/RelationalEntity.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
 	/**
34 34
 	 * Mark a property as relation so it will not get updated using Mapper::update
35
-	 * @param $property string Name of the property
35
+	 * @param string $property string Name of the property
36 36
 	 */
37 37
 	public function addRelation($property) {
38 38
 		if (!in_array($property, $this->_relations, true)) {
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
 	/**
44 44
 	 * Mark a property as resolvable via resolveRelation()
45
-	 * @param $property string Name of the property
45
+	 * @param string $property string Name of the property
46 46
 	 */
47 47
 	public function addResolvable($property) {
48 48
 		$this->_resolvedProperties[$property] = null;
Please login to merge, or discard this patch.
lib/Notification/NotificationHelper.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	 * Send notifications that a board was shared with a user/group
99 99
 	 *
100 100
 	 * @param $boardId
101
-	 * @param $acl
101
+	 * @param Acl $acl
102 102
 	 * @throws \InvalidArgumentException
103 103
 	 */
104 104
 	public function sendBoardShared($boardId, $acl) {
@@ -128,6 +128,9 @@  discard block
 block discarded – undo
128 128
 		return $this->boards[$boardId];
129 129
 	}
130 130
 
131
+	/**
132
+	 * @param Board $board
133
+	 */
131 134
 	private function generateBoardShared($board, $userId) {
132 135
 		$notification = $this->notificationManager->createNotification();
133 136
 		$notification
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.