Completed
Pull Request — master (#29744)
by Thomas
10:17
created
lib/private/User/User.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	 *
79 79
 	 * @param Account $account
80 80
 	 * @param AccountMapper $mapper
81
-	 * @param null $emitter
81
+	 * @param Manager $emitter
82 82
 	 * @param IConfig|null $config
83 83
 	 * @param null $urlGenerator
84 84
 	 * @param EventDispatcherInterface|null $eventDispatcher
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	/**
115 115
 	 * get the user id
116 116
 	 *
117
-	 * @return string
117
+	 * @return integer
118 118
 	 */
119 119
 	public function getUID() {
120 120
 		return $this->account->getUserId();
@@ -453,6 +453,10 @@  discard block
 block discarded – undo
453 453
 		return $url;
454 454
 	}
455 455
 
456
+	/**
457
+	 * @param string $feature
458
+	 * @param string $value
459
+	 */
456 460
 	public function triggerChange($feature, $value = null) {
457 461
 		if ($this->emitter && in_array($feature, $this->account->getUpdatedFields())) {
458 462
 			$this->emitter->emit('\OC\User', 'changeUser', [$this, $feature, $value]);
Please login to merge, or discard this patch.