@@ -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 | { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | /** |
79 | 79 | * Function returns name of table in database. |
80 | 80 | * |
81 | - * @return type |
|
81 | + * @return string |
|
82 | 82 | */ |
83 | 83 | public function getBaseTable() |
84 | 84 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * Function determines fields available in edition view. |
71 | 71 | * |
72 | - * @return string[] |
|
72 | + * @return string |
|
73 | 73 | */ |
74 | 74 | public function getEditFields() |
75 | 75 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Function determines fields available in edition view. |
81 | 81 | * |
82 | - * @return string[] |
|
82 | + * @return Settings_Vtiger_Field_Model |
|
83 | 83 | */ |
84 | 84 | public function getFieldInstanceByName($name) |
85 | 85 | { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | * |
159 | 159 | * @param string $type |
160 | 160 | * |
161 | - * @return \self |
|
161 | + * @return Settings_WebserviceUsers_Record_Model |
|
162 | 162 | */ |
163 | 163 | public static function getCleanInstance($type) |
164 | 164 | { |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | * |
176 | 176 | * @param array $data |
177 | 177 | * |
178 | - * @return bool |
|
178 | + * @return integer |
|
179 | 179 | */ |
180 | 180 | public function save($data) |
181 | 181 | { |
@@ -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 | { |
@@ -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 |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | /** |
140 | 140 | * Set workflow from instance. |
141 | 141 | * |
142 | - * @param object $workflowModel |
|
142 | + * @param Workflow $workflowModel |
|
143 | 143 | * |
144 | 144 | * @return $this |
145 | 145 | */ |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * @param int $taskId |
197 | 197 | * @param Workflow $workflowModel |
198 | 198 | * |
199 | - * @return VTTask |
|
199 | + * @return Settings_Workflows_TaskRecord_Model |
|
200 | 200 | */ |
201 | 201 | public static function getInstance($taskId, $workflowModel = null) |
202 | 202 | { |
@@ -212,10 +212,10 @@ discard block |
||
212 | 212 | /** |
213 | 213 | * Return clean instance. |
214 | 214 | * |
215 | - * @param object $workflowModel |
|
215 | + * @param Settings_Workflows_Record_Model $workflowModel |
|
216 | 216 | * @param string $taskName |
217 | 217 | * |
218 | - * @return VTTask |
|
218 | + * @return Settings_Workflows_TaskRecord_Model |
|
219 | 219 | */ |
220 | 220 | public static function getCleanInstance($workflowModel, $taskName) |
221 | 221 | { |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | * @param Workflow $workflowModel |
231 | 231 | * @param VTTaskManager $tm |
232 | 232 | * |
233 | - * @return VTTask |
|
233 | + * @return Settings_Workflows_TaskRecord_Model |
|
234 | 234 | */ |
235 | 235 | public static function getInstanceFromTaskObject($task, $workflowModel, $tm) |
236 | 236 | { |
@@ -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 | { |