@@ -116,6 +116,7 @@ |
||
116 | 116 | /** |
117 | 117 | * Function verifies if module is watching in database. |
118 | 118 | * |
119 | + * @param string $member |
|
119 | 120 | * @return bool |
120 | 121 | */ |
121 | 122 | public function isWatchingModuleConfig($member) |
@@ -74,7 +74,7 @@ |
||
74 | 74 | * |
75 | 75 | * @param int $id userId/GroupId |
76 | 76 | * |
77 | - * @return string User/Group |
|
77 | + * @return boolean User/Group |
|
78 | 78 | */ |
79 | 79 | public static function getOwnerType($id) |
80 | 80 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * @param mixed $value |
80 | 80 | * @param Vtiger_Record_Model $recordModel |
81 | 81 | * |
82 | - * @return mixed |
|
82 | + * @return string |
|
83 | 83 | */ |
84 | 84 | public function getEditViewDisplayValue($value, $recordModel = false) |
85 | 85 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param string $value |
93 | 93 | * |
94 | - * @return array |
|
94 | + * @return string |
|
95 | 95 | */ |
96 | 96 | public static function getRecurringInfo($value) |
97 | 97 | { |
@@ -38,6 +38,9 @@ |
||
38 | 38 | return 'CountRecordsConfig'; |
39 | 39 | } |
40 | 40 | |
41 | + /** |
|
42 | + * @param integer $recordId |
|
43 | + */ |
|
41 | 44 | public static function getCountRecords($modules, $recordId) |
42 | 45 | { |
43 | 46 | $countRecords = []; |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $numberSelected = false; |
48 | 48 | foreach ($phoneFieldList as $fieldName) { |
49 | 49 | if (!empty($row[$fieldName])) { |
50 | - $toNumbers[] = preg_replace_callback('/[^\d]/s', function ($m) { |
|
50 | + $toNumbers[] = preg_replace_callback('/[^\d]/s', function($m) { |
|
51 | 51 | return ''; |
52 | 52 | }, $row[$fieldName]); |
53 | 53 | $numberSelected = true; |
@@ -118,7 +118,7 @@ |
||
118 | 118 | if ($time['date'] == $dateParam) { |
119 | 119 | $num = count($time->Rate); |
120 | 120 | for ($i = 0; $i < $num; ++$i) { |
121 | - $currency = (string) $time->Rate[$i]['currency']; // currency code |
|
121 | + $currency = (string) $time->Rate[$i]['currency']; // currency code |
|
122 | 122 | foreach ($otherCurrencyCode as $key => $currId) { |
123 | 123 | if ($key == $currency && $currency != $mainCurrency) { |
124 | 124 | $exchange = $time->Rate[$i]; |
@@ -124,7 +124,7 @@ |
||
124 | 124 | if ($time['time'] == $dateParam) { |
125 | 125 | $num = count($time->Cube); |
126 | 126 | for ($i = 0; $i < $num; ++$i) { |
127 | - $currency = (string) $time->Cube[$i]['currency']; // currency code |
|
127 | + $currency = (string) $time->Cube[$i]['currency']; // currency code |
|
128 | 128 | foreach ($otherCurrencyCode as $key => $currId) { |
129 | 129 | if ($key == $currency && $currency != $mainCurrency) { |
130 | 130 | $exchange = $time->Cube[$i]['rate']; |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @param array $linkParams |
18 | 18 | * |
19 | - * @return array - Associative array of Link type to List of Vtiger_Link_Model instances for Mass Actions |
|
19 | + * @return Vtiger_Link_Model[] - Associative array of Link type to List of Vtiger_Link_Model instances for Mass Actions |
|
20 | 20 | */ |
21 | 21 | public function getListViewMassActions($linkParams) |
22 | 22 | { |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @param array $linkParams |
18 | 18 | * |
19 | - * @return array - Associative array of Link type to List of Vtiger_Link_Model instances for Mass Actions |
|
19 | + * @return Vtiger_Link_Model[] - Associative array of Link type to List of Vtiger_Link_Model instances for Mass Actions |
|
20 | 20 | */ |
21 | 21 | public function getListViewMassActions($linkParams) |
22 | 22 | { |