@@ -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']; |
@@ -34,11 +34,11 @@ |
||
34 | 34 | $html .= "<hr><strong>$type</strong><ul>"; |
35 | 35 | foreach ($entries[$typeId] as $notification) { |
36 | 36 | $title = preg_replace_callback( |
37 | - $pattern, function ($matches) { |
|
37 | + $pattern, function($matches) { |
|
38 | 38 | return \AppConfig::main('site_URL') . $matches[0]; |
39 | 39 | }, $notification->getTitle()); |
40 | 40 | $massage = preg_replace_callback( |
41 | - $pattern, function ($matches) { |
|
41 | + $pattern, function($matches) { |
|
42 | 42 | return \AppConfig::main('site_URL') . $matches[0]; |
43 | 43 | }, $notification->getMessage()); |
44 | 44 | $html .= "<li>$title<br />$massage</li>"; |
@@ -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 | { |
@@ -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 | { |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | /** |
17 | 17 | * function to get clean instance. |
18 | 18 | * |
19 | - * @return \static |
|
19 | + * @return Settings_OSSMail_Config_Model |
|
20 | 20 | */ |
21 | 21 | public static function getCleanIntance() |
22 | 22 | { |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Function to get instance with configuration. |
28 | 28 | * |
29 | - * @return \static |
|
29 | + * @return Settings_OSSMail_Config_Model |
|
30 | 30 | */ |
31 | 31 | public static function getInstance() |
32 | 32 | { |
@@ -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 | { |