Completed
Push — some-scrutinizing ( 26da3a...6d8498 )
by Maxence
02:28
created
lib/Model/Circle.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@  discard block
 block discarded – undo
50 50
 		return $this;
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param string $str
55
+	 */
53 56
 	public function setTypeString($str) {
54 57
 		$this->typeString = $str;
55 58
 
@@ -60,6 +63,9 @@  discard block
 block discarded – undo
60 63
 		return $this->typeString;
61 64
 	}
62 65
 
66
+	/**
67
+	 * @param string $str
68
+	 */
63 69
 	public function setTypeLongString($str) {
64 70
 		$this->typeLongString = $str;
65 71
 	}
Please login to merge, or discard this patch.
lib/Model/Member.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@  discard block
 block discarded – undo
44 44
 		return $this;
45 45
 	}
46 46
 
47
+	/**
48
+	 * @param string $str
49
+	 */
47 50
 	public function setLevelString($str) {
48 51
 		$this->levelString = $str;
49 52
 
@@ -195,6 +198,9 @@  discard block
 block discarded – undo
195 198
 	}
196 199
 
197 200
 
201
+	/**
202
+	 * @param integer $level
203
+	 */
198 204
 	public static function levelString($level) {
199 205
 		switch ($level) {
200 206
 			case self::LEVEL_NONE:
Please login to merge, or discard this patch.
lib/Service/MembersService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
 	/**
79 79
 	 * @param $circleId
80
-	 * @param $name
80
+	 * @param string $name
81 81
 	 *
82 82
 	 * @return array
83 83
 	 * @throws CircleDoesNotExistException
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 
157 157
 	/**
158 158
 	 * return if member already exists
159
-	 * @param $member
159
+	 * @param null|Member $member
160 160
 	 *
161 161
 	 * @return bool
162 162
 	 */
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	/**
171 171
 	 * Invite a Member to a private Circle, or accept his request.
172 172
 	 *
173
-	 * @param $member
173
+	 * @param null|Member $member
174 174
 	 */
175 175
 	private function inviteMemberToPrivateCircle(&$member) {
176 176
 		if ($member->getStatus() === Member::STATUS_REQUEST) {
Please login to merge, or discard this patch.
lib/Service/ConfigService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 	 */
74 74
 	public function isCircleAllowed($type) {
75 75
 		if ($this->allowedCircle === -1) {
76
-			$this->allowedCircle = (int) $this->getAppValue(self::CIRCLES_ALLOW_CIRCLES);
76
+			$this->allowedCircle = (int)$this->getAppValue(self::CIRCLES_ALLOW_CIRCLES);
77 77
 		}
78 78
 
79 79
 		return ((int)$type & (int)$this->allowedCircle);
Please login to merge, or discard this patch.