@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * Get all tasks for module. |
86 | 86 | * |
87 | - * @param object $moduleModel |
|
87 | + * @param vtlib\ModuleBasic $moduleModel |
|
88 | 88 | * |
89 | 89 | * @return array |
90 | 90 | */ |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * |
105 | 105 | * @param string $taskType |
106 | 106 | * |
107 | - * @return object |
|
107 | + * @return Settings_Workflows_TaskType_Model |
|
108 | 108 | */ |
109 | 109 | public static function getInstance($taskType) |
110 | 110 | { |
@@ -116,9 +116,9 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * Get instance from task type object. |
118 | 118 | * |
119 | - * @param object $taskTypeObject |
|
119 | + * @param VTTaskType $taskTypeObject |
|
120 | 120 | * |
121 | - * @return \self |
|
121 | + * @return Settings_Workflows_TaskType_Model |
|
122 | 122 | */ |
123 | 123 | public static function getInstanceFromTaskTypeObject($taskTypeObject) |
124 | 124 | { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * Get task base module object. |
130 | 130 | * |
131 | - * @return object |
|
131 | + * @return Vtiger_Module_Model|null |
|
132 | 132 | */ |
133 | 133 | public function getTaskBaseModule() |
134 | 134 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @param string $key |
67 | 67 | * @param mixed $value |
68 | 68 | * |
69 | - * @return \self |
|
69 | + * @return SMSNotifier_Basic_Provider |
|
70 | 70 | */ |
71 | 71 | public function set($key, $value) |
72 | 72 | { |
@@ -142,8 +142,6 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Function to handle SMS Send operation. |
144 | 144 | * |
145 | - * @param string $message |
|
146 | - * @param string|string[] $toNumbers |
|
147 | 145 | */ |
148 | 146 | public function send() |
149 | 147 | { |
@@ -195,6 +195,7 @@ |
||
195 | 195 | * @param int $id - ssalesprocessesid |
196 | 196 | * @param array $parentSSalesProcesses - Array of all the parent sales |
197 | 197 | * returns All the parent Sales of the given ssalesprocessesid in array format |
198 | + * @param integer[] $encounteredSalesProcesses |
|
198 | 199 | */ |
199 | 200 | public function getParentSales($id, &$parentSSalesProcesses, &$encounteredSalesProcesses, $depthBase = 0) |
200 | 201 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * |
18 | 18 | * @throws \Exception\NoPermittedToRecord |
19 | 19 | * |
20 | - * @return bool |
|
20 | + * @return boolean|null |
|
21 | 21 | */ |
22 | 22 | public function checkPermission(\App\Request $request) |
23 | 23 | { |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * Function to get Module instance. |
21 | 21 | * |
22 | - * @return Vtiger_Module_Model |
|
22 | + * @return boolean |
|
23 | 23 | */ |
24 | 24 | public function getModule() |
25 | 25 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Function to get the Record model. |
45 | 45 | * |
46 | - * @return Vtiger_Record_Model |
|
46 | + * @return boolean |
|
47 | 47 | */ |
48 | 48 | public function getRecord() |
49 | 49 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * Function to set the value of a given property. |
38 | 38 | * |
39 | 39 | * @param string $propertyName |
40 | - * @param <Object> $propertyValue |
|
40 | + * @param boolean $propertyValue |
|
41 | 41 | * |
42 | 42 | * @return Vtiger_Link_Model instance |
43 | 43 | */ |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | /** |
201 | 201 | * Function to check whether the link model has any child links. |
202 | 202 | * |
203 | - * @return bool true/false |
|
203 | + * @return boolean|null true/false |
|
204 | 204 | */ |
205 | 205 | public function hasChild() |
206 | 206 | { |
@@ -25,6 +25,9 @@ discard block |
||
25 | 25 | return $this->get('id'); |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $key |
|
30 | + */ |
|
28 | 31 | public function get($key) |
29 | 32 | { |
30 | 33 | if (in_array($key, ['conditions', 'params']) && !is_array(parent::get($key))) { |
@@ -34,6 +37,9 @@ discard block |
||
34 | 37 | } |
35 | 38 | } |
36 | 39 | |
40 | + /** |
|
41 | + * @param string $key |
|
42 | + */ |
|
37 | 43 | public function getRaw($key) |
38 | 44 | { |
39 | 45 | return parent::get($key); |
@@ -69,6 +75,10 @@ discard block |
||
69 | 75 | } |
70 | 76 | } |
71 | 77 | |
78 | + /** |
|
79 | + * @param integer $recordId |
|
80 | + * @param string $view |
|
81 | + */ |
|
72 | 82 | public function getActiveTemplatesForRecord($recordId, $view, $moduleName = false) |
73 | 83 | { |
74 | 84 | \App\Log::trace('Entering ' . __METHOD__ . '(' . $recordId . ',' . $view . ',' . $moduleName . ') method ...'); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * |
47 | 47 | * @param int $widgetId |
48 | 48 | * |
49 | - * @return \self |
|
49 | + * @return Vtiger_Notebook_Model |
|
50 | 50 | */ |
51 | 51 | public static function getUserInstance($widgetId) |
52 | 52 | { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Function to get the record. |
43 | 43 | * |
44 | - * @return Vtiger_Record_Model |
|
44 | + * @return boolean |
|
45 | 45 | */ |
46 | 46 | public function getRecord() |
47 | 47 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Function to get the module. |
58 | 58 | * |
59 | - * @return Vtiger_Module_Model |
|
59 | + * @return boolean |
|
60 | 60 | */ |
61 | 61 | public function getModule() |
62 | 62 | { |