@@ -288,7 +288,7 @@ |
||
| 288 | 288 | * |
| 289 | 289 | * @param \App\Request $request - request model |
| 290 | 290 | * |
| 291 | - * @return Vtiger_CssScript_Model[] |
|
| 291 | + * @return App\Controller\Vtiger_CssScript_Model[] |
|
| 292 | 292 | */ |
| 293 | 293 | public function getHeaderCss(\App\Request $request) |
| 294 | 294 | { |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $lang = ''; |
| 44 | 44 | if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { |
| 45 | 45 | $languages = Install_Utils_Model::getLanguages(); |
| 46 | - array_walk($languages, function (&$shortCode, $code) { |
|
| 46 | + array_walk($languages, function(&$shortCode, $code) { |
|
| 47 | 47 | $shortCode = Locale::getPrimaryLanguage($code); |
| 48 | 48 | }); |
| 49 | 49 | foreach (explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']) as $code) { |
@@ -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 | { |
@@ -893,7 +893,7 @@ |
||
| 893 | 893 | * Get vtime zone. |
| 894 | 894 | * |
| 895 | 895 | * @param Sabre\VObject\Component $vcalendar |
| 896 | - * @param type $tzid |
|
| 896 | + * @param string $tzid |
|
| 897 | 897 | * @param int $from |
| 898 | 898 | * @param int $to |
| 899 | 899 | * |
@@ -41,6 +41,9 @@ discard block |
||
| 41 | 41 | \App\Log::trace(__METHOD__ . ' | End'); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @param string $moduleName |
|
| 46 | + */ |
|
| 44 | 47 | public function syncCrmRecord($moduleName) |
| 45 | 48 | { |
| 46 | 49 | $create = $deletes = $updates = 0; |
@@ -238,6 +241,9 @@ discard block |
||
| 238 | 241 | \App\Log::trace(__METHOD__ . ' | End'); |
| 239 | 242 | } |
| 240 | 243 | |
| 244 | + /** |
|
| 245 | + * @param string $moduleName |
|
| 246 | + */ |
|
| 241 | 247 | public function createRecord($moduleName, $card) |
| 242 | 248 | { |
| 243 | 249 | \App\Log::trace(__METHOD__ . ' | Start Card ID' . $card['id']); |
@@ -441,7 +447,6 @@ discard block |
||
| 441 | 447 | /** |
| 442 | 448 | * Adds a change record to the addressbookchanges table. |
| 443 | 449 | * |
| 444 | - * @param mixed $addressBookId |
|
| 445 | 450 | * @param string $objectUri |
| 446 | 451 | * @param int $operation 1 = add, 2 = modify, 3 = delete |
| 447 | 452 | */ |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | * @param string $moduleName |
| 91 | 91 | * @param int $userId |
| 92 | 92 | * |
| 93 | - * @return int|bool |
|
| 93 | + * @return integer|null |
|
| 94 | 94 | */ |
| 95 | 95 | public function undo($moduleName, $userId) |
| 96 | 96 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * Constructor. |
| 24 | 24 | * |
| 25 | - * @return bool |
|
| 25 | + * @return false|null |
|
| 26 | 26 | */ |
| 27 | 27 | public function __construct() |
| 28 | 28 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * |
| 18 | 18 | * @param \App\Request $request |
| 19 | 19 | * |
| 20 | - * @return string export query |
|
| 20 | + * @return App\Db\Query export query |
|
| 21 | 21 | */ |
| 22 | 22 | public function getExportQuery(\App\Request $request) |
| 23 | 23 | { |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | /** |
| 148 | 148 | * Function to get export query. |
| 149 | 149 | * |
| 150 | - * @return string query; |
|
| 150 | + * @return App\Db\Query query; |
|
| 151 | 151 | */ |
| 152 | 152 | public function getExportQuery($focus = '', $where = '') |
| 153 | 153 | { |
@@ -129,10 +129,8 @@ |
||
| 129 | 129 | * Calculate the time difference (input times) or (current time and input time) and |
| 130 | 130 | * convert it into number of days. |
| 131 | 131 | * |
| 132 | - * @param array $a $a[0] - Input time1, $a[1] - Input time2 |
|
| 133 | - * (if $a[1] is not available $a[0] = Current Time, $a[1] = Input time1) |
|
| 134 | 132 | * |
| 135 | - * @return int number of days |
|
| 133 | + * @return double number of days |
|
| 136 | 134 | */ |
| 137 | 135 | public static function __vt_time_diffdays($arr) |
| 138 | 136 | { |