Completed
Pull Request — master (#32767)
by Thomas
14:30
created
lib/private/AvatarManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
 		}
99 99
 	}
100 100
 
101
+	/**
102
+	 * @param string $userId
103
+	 */
101 104
 	private function buildAvatarPath($userId) {
102 105
 		$avatar = \substr_replace(\substr_replace(\md5($userId), '/', 4, 0), '/', 2, 0);
103 106
 		return \explode('/', $avatar);
Please login to merge, or discard this patch.
lib/private/Comments/Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
 	/**
207 207
 	 * removes an entry from the comments run time cache
208 208
 	 *
209
-	 * @param mixed $id the comment's id
209
+	 * @param string $id the comment's id
210 210
 	 */
211 211
 	protected function uncache($id) {
212 212
 		$id = \strval($id);
Please login to merge, or discard this patch.
lib/private/DB/Migrator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -234,6 +234,10 @@
 block discarded – undo
234 234
 		return '/^' . \preg_quote($this->config->getSystemValue('dbtableprefix', 'oc_')) . '/';
235 235
 	}
236 236
 
237
+	/**
238
+	 * @param integer $step
239
+	 * @param integer $max
240
+	 */
237 241
 	protected function emit($sql, $step, $max) {
238 242
 		if ($this->noEmit) {
239 243
 			return;
Please login to merge, or discard this patch.
lib/private/Files/Cache/Cache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -409,6 +409,9 @@
 block discarded – undo
409 409
 		}
410 410
 	}
411 411
 
412
+	/**
413
+	 * @param string $path
414
+	 */
412 415
 	private function getParentPath($path) {
413 416
 		$parent = \dirname($path);
414 417
 		if ($parent === '.') {
Please login to merge, or discard this patch.
lib/private/Files/Cache/Wrapper/CacheJail.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
 	/**
76 76
 	 * @param array $entry
77
-	 * @return array
77
+	 * @return string
78 78
 	 */
79 79
 	protected function formatCacheEntry($entry) {
80 80
 		if (isset($entry['path'])) {
@@ -193,6 +193,9 @@  discard block
 block discarded – undo
193 193
 		return $this->cache->getStatus($this->getSourcePath($file));
194 194
 	}
195 195
 
196
+	/**
197
+	 * @param \OCP\Files\Cache\ICacheEntry[] $results
198
+	 */
196 199
 	private function formatSearchResults($results) {
197 200
 		$results = \array_filter($results, [$this, 'filterCacheEntry']);
198 201
 		$results = \array_values($results);
Please login to merge, or discard this patch.
lib/private/Files/Stream/StaticStream.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@
 block discarded – undo
145 145
 		return true;
146 146
 	}
147 147
 
148
+	/**
149
+	 * @param string $path
150
+	 */
148 151
 	public function url_stat($path) {
149 152
 		if (isset(self::$data[$path])) {
150 153
 			$size = \strlen(self::$data[$path]);
Please login to merge, or discard this patch.
lib/private/User/User.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	 *
83 83
 	 * @param Account $account
84 84
 	 * @param AccountMapper $mapper
85
-	 * @param null $emitter
85
+	 * @param Manager $emitter
86 86
 	 * @param IConfig|null $config
87 87
 	 * @param null $urlGenerator
88 88
 	 * @param EventDispatcher|null $eventDispatcher
@@ -473,6 +473,10 @@  discard block
 block discarded – undo
473 473
 		return $url;
474 474
 	}
475 475
 
476
+	/**
477
+	 * @param string $feature
478
+	 * @param string $value
479
+	 */
476 480
 	public function triggerChange($feature, $value = null) {
477 481
 		if ($this->emitter && \in_array($feature, $this->account->getUpdatedFields())) {
478 482
 			$this->emitter->emit('\OC\User', 'changeUser', [$this, $feature, $value]);
Please login to merge, or discard this patch.
lib/private/Files/Utils/Scanner.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
 	/**
171 171
 	 * Returns whether the given mount point should be scanned
172 172
 	 *
173
-	 * @param $mount mount point
173
+	 * @param \OC\Files\Mount\MountPoint|null $mount mount point
174 174
 	 * @return bool true to scan, false to skip
175 175
 	 */
176 176
 	private function shouldScan($mount) {
Please login to merge, or discard this patch.
lib/public/Share/IShareProvider.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @param \OCP\Share\IShare $share
65 65
 	 * @since 9.0.0
66
+	 * @return void
66 67
 	 */
67 68
 	public function delete(\OCP\Share\IShare $share);
68 69
 
@@ -74,6 +75,7 @@  discard block
 block discarded – undo
74 75
 	 * @param \OCP\Share\IShare $share
75 76
 	 * @param string $recipient UserId of the recipient
76 77
 	 * @since 9.0.0
78
+	 * @return void
77 79
 	 */
78 80
 	public function deleteFromSelf(\OCP\Share\IShare $share, $recipient);
79 81
 
@@ -181,6 +183,7 @@  discard block
 block discarded – undo
181 183
 	 * @param string $uid
182 184
 	 * @param int $shareType
183 185
 	 * @since 9.1.0
186
+	 * @return void
184 187
 	 */
185 188
 	public function userDeleted($uid, $shareType);
186 189
 
@@ -191,6 +194,7 @@  discard block
 block discarded – undo
191 194
 	 *
192 195
 	 * @param string $gid
193 196
 	 * @since 9.1.0
197
+	 * @return void
194 198
 	 */
195 199
 	public function groupDeleted($gid);
196 200
 
@@ -202,6 +206,7 @@  discard block
 block discarded – undo
202 206
 	 * @param string $uid
203 207
 	 * @param string $gid
204 208
 	 * @since 9.1.0
209
+	 * @return void
205 210
 	 */
206 211
 	public function userDeletedFromGroup($uid, $gid);
207 212
 
@@ -213,7 +218,6 @@  discard block
 block discarded – undo
213 218
 	 *
214 219
 	 * @param \OCP\Share\IShare $share
215 220
 	 * @param string $recipient userId of recipient
216
-	 * @param int $state state to set
217 221
 	 * @return \OCP\Share\IShare
218 222
 	 * @since 10.0.9
219 223
 	 */
Please login to merge, or discard this patch.