Completed
Pull Request — master (#31285)
by Thomas
51:18 queued 40:13
created
lib/private/User/User.php 2 patches
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.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@  discard block
 block discarded – undo
31 31
 
32 32
 namespace OC\User;
33 33
 
34
-use OC\Files\Cache\Cache;
35 34
 use OC\Files\Cache\Storage;
36 35
 use OC\Hooks\Emitter;
37 36
 use OC_Helper;
@@ -44,7 +43,6 @@  discard block
 block discarded – undo
44 43
 use OCP\IUserBackend;
45 44
 use OCP\IUserSession;
46 45
 use OCP\User\IChangePasswordBackend;
47
-use OCP\UserInterface;
48 46
 use Symfony\Component\EventDispatcher\EventDispatcher;
49 47
 use Symfony\Component\EventDispatcher\GenericEvent;
50 48
 
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/private/Share/MailNotifications.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,10 +189,10 @@
 block discarded – undo
189 189
 	 * inform recipient about public link share
190 190
 	 *
191 191
 	 * @param string $recipient recipient email address
192
-	 * @param string $filename the shared file
193
-	 * @param string $link the public link
194 192
 	 * @param array $options allows ['cc'] and ['bcc'] recipients
195
-	 * @param int $expiration expiration date (timestamp)
193
+	 * @param string $subject
194
+	 * @param boolean|string $htmlBody
195
+	 * @param boolean|string $textBody
196 196
 	 * @return string[] $result of failed recipients
197 197
 	 */
198 198
 	public function sendLinkShareMailFromBody($recipient, $subject, $htmlBody, $textBody, $options = []) {
Please login to merge, or discard this patch.