@@ -174,6 +174,10 @@ |
||
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); |
@@ -139,7 +139,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -86,7 +86,7 @@ |
||
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 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Get unique key. |
32 | 32 | * |
33 | - * @return type |
|
33 | + * @return string |
|
34 | 34 | */ |
35 | 35 | public function getKey() |
36 | 36 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Get unique key. |
32 | 32 | * |
33 | - * @return type |
|
33 | + * @return string |
|
34 | 34 | */ |
35 | 35 | public function getKey() |
36 | 36 | { |
@@ -146,7 +146,7 @@ discard block |
||
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 |
||
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 |
||
219 | 219 | /** |
220 | 220 | * Get user all details. |
221 | 221 | * |
222 | - * @param string $fieldName |
|
223 | 222 | * |
224 | 223 | * @return mixed |
225 | 224 | */ |
@@ -253,7 +253,7 @@ |
||
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 | } |
@@ -408,7 +408,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ |
||
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 | { |
@@ -43,7 +43,7 @@ |
||
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 | { |