Completed
Pull Request — developer (#8752)
by Sławomir
14:40
created
app/Record.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -174,6 +174,10 @@
 block discarded – undo
174 174
 		return $entityDisplay;
175 175
 	}
176 176
 
177
+	/**
178
+	 * @param string $moduleName
179
+	 * @param integer $id
180
+	 */
177 181
 	public static function updateLabel($moduleName, $id, $insertMode = false, $updater = false)
178 182
 	{
179 183
 		$labelInfo = static::computeLabels($moduleName, $id, true);
Please login to merge, or discard this patch.
app/Request.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 	 * 2 - word and int
140 140
 	 *
141 141
 	 * @param string     $key  Key name
142
-	 * @param int|string $type Data type that is only acceptable, default only words 'Standard'
142
+	 * @param integer $type Data type that is only acceptable, default only words 'Standard'
143 143
 	 *
144 144
 	 * @return bool|mixed
145 145
 	 */
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 	 * Function to get html the value for a given key.
288 288
 	 *
289 289
 	 * @param string $key
290
-	 * @param mixed  $value
290
+	 * @param string  $value
291 291
 	 *
292 292
 	 * @return mixed
293 293
 	 */
Please login to merge, or discard this patch.
app/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 	 *
87 87
 	 * @param string $key
88 88
 	 *
89
-	 * @return bool
89
+	 * @return boolean|null
90 90
 	 */
91 91
 	public static function delete($key)
92 92
 	{
Please login to merge, or discard this patch.
app/SystemWarnings/YetiForce/Newsletter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	/**
31 31
 	 * Get unique key.
32 32
 	 *
33
-	 * @return type
33
+	 * @return string
34 34
 	 */
35 35
 	public function getKey()
36 36
 	{
Please login to merge, or discard this patch.
app/SystemWarnings/YetiForce/Stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	/**
31 31
 	 * Get unique key.
32 32
 	 *
33
-	 * @return type
33
+	 * @return string
34 34
 	 */
35 35
 	public function getKey()
36 36
 	{
Please login to merge, or discard this patch.
app/User.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 	/**
147 147
 	 * Clear user cache.
148 148
 	 *
149
-	 * @param int|bool $userId
149
+	 * @param integer $userId
150 150
 	 */
151 151
 	public static function clearCache($userId = false)
152 152
 	{
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
 	 *
210 210
 	 * @param string $fieldName
211 211
 	 *
212
-	 * @return mixed
212
+	 * @return string
213 213
 	 */
214 214
 	public function getDetail($fieldName)
215 215
 	{
@@ -219,7 +219,6 @@  discard block
 block discarded – undo
219 219
 	/**
220 220
 	 * Get user all details.
221 221
 	 *
222
-	 * @param string $fieldName
223 222
 	 *
224 223
 	 * @return mixed
225 224
 	 */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
 	 */
254 254
 	public function getGroupNames()
255 255
 	{
256
-		return array_filter(\App\Fields\Owner::getInstance('CustomView')->getGroups(false), function ($key) {
256
+		return array_filter(\App\Fields\Owner::getInstance('CustomView')->getGroups(false), function($key) {
257 257
 			return \in_array($key, $this->getGroups());
258 258
 		}, ARRAY_FILTER_USE_KEY);
259 259
 	}
Please login to merge, or discard this patch.
app/UserPrivilegesFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -408,7 +408,7 @@
 block discarded – undo
408 408
 	 * Function to populate the read/wirte Sharing permissions related module data for the specified user into the database.
409 409
 	 *
410 410
 	 * @param string $enttype
411
-	 * @param int    $userid
411
+	 * @param int    $userId
412 412
 	 * @param string $module
413 413
 	 * @param string $relmodule
414 414
 	 * @param string $pertype
Please login to merge, or discard this patch.
app/Utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	 *
19 19
 	 * @param mixed $variable
20 20
 	 *
21
-	 * @return mixed the variable representation when the <i>return</i>
21
+	 * @return string the variable representation when the <i>return</i>
22 22
 	 */
23 23
 	public static function varExport($variable)
24 24
 	{
Please login to merge, or discard this patch.
app/Zip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	 *
44 44
 	 * @throws Exceptions\AppException
45 45
 	 *
46
-	 * @return Zip|bool
46
+	 * @return Zip
47 47
 	 */
48 48
 	public static function openFile($fileName = false, $options = [])
49 49
 	{
Please login to merge, or discard this patch.