Completed
Branch contacts (f6e612)
by Maxence
18:41
created
lib/Model/BaseMember.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -149,6 +149,9 @@
 block discarded – undo
149 149
 	}
150 150
 
151 151
 
152
+	/**
153
+	 * @param string $display
154
+	 */
152 155
 	public function setDisplayName($display) {
153 156
 		$this->displayName = $display;
154 157
 
Please login to merge, or discard this patch.
lib/Service/MembersService.php 1 patch
Doc Comments   +13 added lines, -6 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
 	/**
103 103
 	 * @param string $circleUniqueId
104 104
 	 * @param $ident
105
-	 * @param $type
105
+	 * @param integer $type
106 106
 	 *
107
-	 * @return array
107
+	 * @return Member[]
108 108
 	 * @throws \Exception
109 109
 	 */
110 110
 	public function addMember($circleUniqueId, $ident, $type) {
@@ -167,6 +167,10 @@  discard block
 block discarded – undo
167 167
 		}
168 168
 	}
169 169
 
170
+	/**
171
+	 * @param string $ident
172
+	 * @param integer $type
173
+	 */
170 174
 	private function verifyIdentLocalMember(&$ident, $type) {
171 175
 		if ($type !== Member::TYPE_USER) {
172 176
 			return;
@@ -180,6 +184,9 @@  discard block
 block discarded – undo
180 184
 	}
181 185
 
182 186
 
187
+	/**
188
+	 * @param integer $type
189
+	 */
183 190
 	private function verifyIdentContact(&$ident, $type) {
184 191
 		if ($type !== Member::TYPE_CONTACT) {
185 192
 			return;
@@ -320,7 +327,7 @@  discard block
 block discarded – undo
320 327
 	 * @param int $type
321 328
 	 * @param int $level
322 329
 	 *
323
-	 * @return array
330
+	 * @return Member[]
324 331
 	 * @throws \Exception
325 332
 	 */
326 333
 	public function levelMember($circleUniqueId, $name, $type, $level) {
@@ -359,7 +366,7 @@  discard block
 block discarded – undo
359 366
 	/**
360 367
 	 * @param Circle $circle
361 368
 	 * @param Member $member
362
-	 * @param $level
369
+	 * @param integer $level
363 370
 	 *
364 371
 	 * @throws \Exception
365 372
 	 */
@@ -410,9 +417,9 @@  discard block
 block discarded – undo
410 417
 	/**
411 418
 	 * @param string $circleUniqueId
412 419
 	 * @param string $name
413
-	 * @param $type
420
+	 * @param integer $type
414 421
 	 *
415
-	 * @return array
422
+	 * @return Member[]
416 423
 	 * @throws \Exception
417 424
 	 */
418 425
 	public function removeMember($circleUniqueId, $name, $type) {
Please login to merge, or discard this patch.
lib/Service/MiscService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 
128 128
 
129 129
 	/**
130
-	 * @param $ident
130
+	 * @param string $ident
131 131
 	 *
132 132
 	 * @return mixed|string
133 133
 	 */
Please login to merge, or discard this patch.