@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * |
27 | 27 | * @param Vtiger_Module_Model $moduleInstance - module model |
28 | 28 | * |
29 | - * @return Vtiger_DetailView_Model |
|
29 | + * @return Vtiger_DashBoard_Model |
|
30 | 30 | */ |
31 | 31 | public function setModule($moduleInstance) |
32 | 32 | { |
@@ -137,6 +137,9 @@ discard block |
||
137 | 137 | return []; |
138 | 138 | } |
139 | 139 | |
140 | + /** |
|
141 | + * @param string $moduleName |
|
142 | + */ |
|
140 | 143 | public function verifyDashboard($moduleName) |
141 | 144 | { |
142 | 145 | \App\Log::trace('Entering ' . __METHOD__ . '(' . $moduleName . ')'); |
@@ -203,6 +206,7 @@ discard block |
||
203 | 206 | * Function to get modules with widgets. |
204 | 207 | * |
205 | 208 | * @param string $moduleName - module name |
209 | + * @param integer $dashboard |
|
206 | 210 | * |
207 | 211 | * @return <Array> $modules |
208 | 212 | */ |
@@ -51,7 +51,7 @@ |
||
51 | 51 | foreach ($headers as $fieldModel) { |
52 | 52 | $label = App\Language::translate($fieldModel->getFieldLabel(), $fieldModel->getModuleName()); |
53 | 53 | if (!empty($fieldModel->get('source_field_name'))) { |
54 | - $label = App\Language::translate($moduleModel->getField($fieldModel->get('source_field_name'))->getFieldLabel(), $moduleName) . ' - ' . $label; |
|
54 | + $label = App\Language::translate($moduleModel->getField($fieldModel->get('source_field_name'))->getFieldLabel(), $moduleName) . ' - ' . $label; |
|
55 | 55 | } |
56 | 56 | $worksheet->setCellValueExplicitByColumnAndRow($col, $row, App\Purifier::decodeHtml($label), \PhpOffice\PhpSpreadsheet\Cell\DataType::TYPE_STRING); |
57 | 57 | ++$col; |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * @throws \App\Exceptions\IllegalValue |
99 | 99 | * @throws \App\Exceptions\NoPermittedToRecord |
100 | 100 | * |
101 | - * @return \html |
|
101 | + * @return string|boolean |
|
102 | 102 | */ |
103 | 103 | public function getForRecord(\App\Request $request) |
104 | 104 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * |
32 | 32 | * @param $time |
33 | 33 | * |
34 | - * @return mixed |
|
34 | + * @return string |
|
35 | 35 | */ |
36 | 36 | public static function formatToDB($time) |
37 | 37 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @param float $decTime time in decimal format 1.5 = 1h 30m |
72 | 72 | * @param string $type hour text format 'short' or 'full' |
73 | - * @param int|bool $withSeconds if is provided as int then will be displayed |
|
73 | + * @param boolean $withSeconds if is provided as int then will be displayed |
|
74 | 74 | * |
75 | 75 | * @return string |
76 | 76 | */ |
@@ -11,7 +11,7 @@ |
||
11 | 11 | // Backup catalog path |
12 | 12 | 'BACKUP_PATH' => '', //String |
13 | 13 | // Allowed extensions to show on the list |
14 | - 'EXT_TO_SHOW' => [ //array |
|
14 | + 'EXT_TO_SHOW' => [//array |
|
15 | 15 | '7z', |
16 | 16 | 'bz2', |
17 | 17 | 'gz', |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | * Static Function to get the Instance of CustomView. |
275 | 275 | * |
276 | 276 | * @param string $moduleName |
277 | - * @param mixed $userModelOrId |
|
277 | + * @param User $userModelOrId |
|
278 | 278 | * |
279 | 279 | * @return \self |
280 | 280 | */ |
@@ -488,7 +488,6 @@ discard block |
||
488 | 488 | /** |
489 | 489 | * Sorting conditions. |
490 | 490 | * |
491 | - * @param array|null $array |
|
492 | 491 | * |
493 | 492 | * @return array|null |
494 | 493 | */ |
@@ -550,7 +549,7 @@ discard block |
||
550 | 549 | /** |
551 | 550 | * Get default cvId. |
552 | 551 | * |
553 | - * @return int|string |
|
552 | + * @return integer |
|
554 | 553 | */ |
555 | 554 | public function getDefaultCvId() |
556 | 555 | { |
@@ -53,8 +53,6 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param \App\QueryGenerator $queryGenerator |
55 | 55 | * @param \Vtiger_Field_Model $fieldModel |
56 | - * @param string|array $value |
|
57 | - * @param string $operator |
|
58 | 56 | */ |
59 | 57 | public function __construct(\App\QueryGenerator $queryGenerator, $fieldModel = false) |
60 | 58 | { |
@@ -159,7 +157,7 @@ discard block |
||
159 | 157 | /** |
160 | 158 | * Get condition. |
161 | 159 | * |
162 | - * @return bool|array |
|
160 | + * @return string |
|
163 | 161 | */ |
164 | 162 | public function getCondition() |
165 | 163 | { |
@@ -20,7 +20,6 @@ |
||
20 | 20 | * Read catalog with backup files and return catalogs and files list. |
21 | 21 | * |
22 | 22 | * @param string $catalogToRead |
23 | - * @param string $module |
|
24 | 23 | * |
25 | 24 | * @throws \App\Exceptions\NoPermitted |
26 | 25 | * |
@@ -357,7 +357,6 @@ |
||
357 | 357 | /** |
358 | 358 | * Get getParticipants. |
359 | 359 | * |
360 | - * @param int[] $excludedId |
|
361 | 360 | * |
362 | 361 | * @return array |
363 | 362 | */ |