@@ -20,7 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Function to get the Id. |
22 | 22 | * |
23 | - * @return number |
|
23 | + * @return string |
|
24 | 24 | */ |
25 | 25 | public function getId() |
26 | 26 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Return clean instance of self. |
13 | 13 | * |
14 | - * @return \self |
|
14 | + * @return Settings_SalesProcesses_Module_Model |
|
15 | 15 | */ |
16 | 16 | public static function getCleanInstance() |
17 | 17 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * |
41 | 41 | * @param int|string $value |
42 | 42 | * |
43 | - * @return \self |
|
43 | + * @return Settings_SharingAccess_Action_Model|null |
|
44 | 44 | */ |
45 | 45 | public static function getInstance($value) |
46 | 46 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * |
213 | 213 | * @param string $qualifiedModuleName |
214 | 214 | * |
215 | - * @return \self |
|
215 | + * @return Settings_SMSNotifier_Record_Model |
|
216 | 216 | */ |
217 | 217 | public static function getCleanInstance($qualifiedModuleName) |
218 | 218 | { |
@@ -286,7 +286,6 @@ discard block |
||
286 | 286 | /** |
287 | 287 | * Function to get instance of provider model. |
288 | 288 | * |
289 | - * @param string $providerName |
|
290 | 289 | * |
291 | 290 | * @return bool|\SMSNotifier_Basic_Provider |
292 | 291 | */ |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @param string $name |
18 | 18 | * |
19 | - * @return \self |
|
19 | + * @return Settings_Users_Module_Model |
|
20 | 20 | */ |
21 | 21 | public static function getInstance($name = 'Settings:Vtiger') |
22 | 22 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * Functtion to get instance without data. |
39 | 39 | * |
40 | - * @return \self |
|
40 | + * @return Settings_WebserviceApps_Record_Model |
|
41 | 41 | */ |
42 | 42 | public static function getCleanInstance() |
43 | 43 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * Return available sizes of widgets. |
63 | 63 | * |
64 | - * @return int[] |
|
64 | + * @return integer[] |
|
65 | 65 | */ |
66 | 66 | public function getSize() |
67 | 67 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * Return available columns of widgets. |
103 | 103 | * |
104 | - * @return int[] |
|
104 | + * @return integer[] |
|
105 | 105 | */ |
106 | 106 | public function getColumns() |
107 | 107 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | /** |
97 | 97 | * Get workflow object. |
98 | 98 | * |
99 | - * @return object |
|
99 | + * @return Workflow |
|
100 | 100 | */ |
101 | 101 | public function getWorkflowObject() |
102 | 102 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * |
133 | 133 | * @param bool $active |
134 | 134 | * |
135 | - * @return array |
|
135 | + * @return VTTask[] |
|
136 | 136 | */ |
137 | 137 | public function getTasks($active = false) |
138 | 138 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * |
268 | 268 | * @param int $workflowId |
269 | 269 | * |
270 | - * @return \Self |
|
270 | + * @return Settings_Workflows_Record_Model |
|
271 | 271 | */ |
272 | 272 | public static function getInstance($workflowId) |
273 | 273 | { |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | * |
283 | 283 | * @param string $moduleName |
284 | 284 | * |
285 | - * @return \Self |
|
285 | + * @return Settings_Workflows_Record_Model |
|
286 | 286 | */ |
287 | 287 | public static function getCleanInstance($moduleName) |
288 | 288 | { |
@@ -296,9 +296,9 @@ discard block |
||
296 | 296 | /** |
297 | 297 | * Get instance from workflow object. |
298 | 298 | * |
299 | - * @param object $wf |
|
299 | + * @param Workflow|null $wf |
|
300 | 300 | * |
301 | - * @return \self |
|
301 | + * @return Settings_Workflows_Record_Model |
|
302 | 302 | */ |
303 | 303 | public static function getInstanceFromWorkflowObject($wf) |
304 | 304 | { |
@@ -463,9 +463,9 @@ |
||
463 | 463 | public function getDependentModules() |
464 | 464 | { |
465 | 465 | $dependentFields = []; |
466 | - $filterModules = [ 'Calendar', 'Accounts', 'Notification']; |
|
466 | + $filterModules = ['Calendar', 'Accounts', 'Notification']; |
|
467 | 467 | foreach (\App\Field::getRelatedFieldForModule(false, $this->getModule()->getName()) as $module => $value) { |
468 | - if(in_array($module, $filterModules)){ |
|
468 | + if (in_array($module, $filterModules)) { |
|
469 | 469 | continue; |
470 | 470 | } |
471 | 471 | $dependentFields[$module] = ['fieldname' => $value['fieldname'], 'modulelabel' => \App\Language::translate($module, $module)]; |
@@ -50,7 +50,7 @@ |
||
50 | 50 | /** |
51 | 51 | * Get instance for workflow module. |
52 | 52 | * |
53 | - * @param object $workFlowModel |
|
53 | + * @param Settings_Workflows_Record_Model $workFlowModel |
|
54 | 54 | * @param string $mode |
55 | 55 | * |
56 | 56 | * @return object |