Completed
Pull Request — master (#32767)
by Sujith
11:23
created
lib/public/SystemTag/ISystemTagManager.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,17 +103,19 @@  discard block
 block discarded – undo
103 103
 	 * with the same attributes
104 104
 	 *
105 105
 	 * @since 9.0.0
106
+	 * @return void
106 107
 	 */
107 108
 	public function updateTag($tagId, $newName, $userVisible, $userAssignable, $userEditable = false);
108 109
 
109 110
 	/**
110 111
 	 * Delete the given tags from the database and all their relationships.
111 112
 	 *
112
-	 * @param string|array $tagIds array of tag ids
113
+	 * @param string $tagIds array of tag ids
113 114
 	 *
114 115
 	 * @throws \OCP\SystemTag\TagNotFoundException if at least one tag did not exist
115 116
 	 *
116 117
 	 * @since 9.0.0
118
+	 * @return void
117 119
 	 */
118 120
 	public function deleteTags($tagIds);
119 121
 
@@ -124,7 +126,7 @@  discard block
 block discarded – undo
124 126
 	 * @param ISystemTag $tag tag to check permission for
125 127
 	 * @param IUser $user user to check permission for
126 128
 	 *
127
-	 * @return true if the user is allowed to assign/unassign the tag, false otherwise
129
+	 * @return boolean if the user is allowed to assign/unassign the tag, false otherwise
128 130
 	 *
129 131
 	 * @since 9.1.0
130 132
 	 */
@@ -134,9 +136,9 @@  discard block
 block discarded – undo
134 136
 	 * Checks whether the given user is allowed to see the tag with the given id.
135 137
 	 *
136 138
 	 * @param ISystemTag $tag tag to check permission for
137
-	 * @param IUser $user user to check permission for
139
+	 * @param IUser $userId user to check permission for
138 140
 	 *
139
-	 * @return true if the user can see the tag, false otherwise
141
+	 * @return boolean if the user can see the tag, false otherwise
140 142
 	 *
141 143
 	 * @since 9.1.0
142 144
 	 */
@@ -149,6 +151,7 @@  discard block
 block discarded – undo
149 151
 	 * @param string[] $groupIds group ids of groups that can assign/unassign the tag
150 152
 	 *
151 153
 	 * @since 9.1.0
154
+	 * @return void
152 155
 	 */
153 156
 	public function setTagGroups(ISystemTag $tag, $groupIds);
154 157
 
Please login to merge, or discard this patch.