@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @param Vtiger_Record_Model $recordModel |
13 | 13 | * |
14 | - * @return int |
|
14 | + * @return string |
|
15 | 15 | */ |
16 | 16 | public function process(Vtiger_Record_Model $recordModel) |
17 | 17 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @param Vtiger_Record_Model $recordModel |
13 | 13 | * |
14 | - * @return int |
|
14 | + * @return string |
|
15 | 15 | */ |
16 | 16 | public function process(Vtiger_Record_Model $recordModel) |
17 | 17 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | /** |
15 | 15 | * Function returns the Number of Leads created per week. |
16 | 16 | * |
17 | - * @param type $data |
|
18 | 17 | * |
19 | 18 | * @return <Array> |
20 | 19 | */ |
@@ -44,6 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * {@inheritdoc} |
47 | + * @param string $value |
|
47 | 48 | */ |
48 | 49 | public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false) |
49 | 50 | { |
@@ -11,7 +11,6 @@ |
||
11 | 11 | /** |
12 | 12 | * Return search params (use to in building address URL to listview). |
13 | 13 | * |
14 | - * @param int|string $owner |
|
15 | 14 | * @param string $date |
16 | 15 | * |
17 | 16 | * @return string |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * |
42 | 42 | * @param Vtiger_Widget_Model $widgetModel |
43 | 43 | * |
44 | - * @return array range ['2018-03-02','2018-03-04'] |
|
44 | + * @return string[] range ['2018-03-02','2018-03-04'] |
|
45 | 45 | */ |
46 | 46 | public static function getDefaultDateRange($widgetModel) |
47 | 47 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * Function to get search params in address listview. |
14 | 14 | * |
15 | 15 | * @param int $owner number id of user |
16 | - * @param array $time |
|
16 | + * @param string $time |
|
17 | 17 | * |
18 | 18 | * @return string |
19 | 19 | */ |
@@ -224,6 +224,7 @@ |
||
224 | 224 | /** |
225 | 225 | * Function returns all the comment count. |
226 | 226 | * |
227 | + * @param integer $recordId |
|
227 | 228 | * @return <int> |
228 | 229 | */ |
229 | 230 | public static function getCommentsCount($recordId) |
@@ -32,6 +32,9 @@ discard block |
||
32 | 32 | } |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $moduleName |
|
37 | + */ |
|
35 | 38 | public function getSupportedFileExtensionsDescription($moduleName) |
36 | 39 | { |
37 | 40 | $supportedFileTypes = self::getSupportedFileExtensions($moduleName); |
@@ -61,6 +64,9 @@ discard block |
||
61 | 64 | return App\Fields\File::getTmpPath() . 'IMPORT_' . $user->getId(); |
62 | 65 | } |
63 | 66 | |
67 | + /** |
|
68 | + * @param string $errorMessage |
|
69 | + */ |
|
64 | 70 | public static function showErrorPage($errorMessage, $errorDetails = false, $customActions = false) |
65 | 71 | { |
66 | 72 | $viewer = new Vtiger_Viewer(); |