Completed
Pull Request — developer (#8752)
by Sławomir
14:40
created
modules/Settings/Users/models/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/Vtiger/models/ConfigModule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	/**
32 32
 	 * Function to get CompanyDetails Menu item.
33 33
 	 *
34
-	 * @return menu item Model
34
+	 * @return Settings_Vtiger_MenuItem_Model item Model
35 35
 	 */
36 36
 	public function getMenuItem()
37 37
 	{
Please login to merge, or discard this patch.
modules/Settings/Vtiger/models/Module.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@  discard block
 block discarded – undo
142 142
 		return 'index.php?module=' . $this->getName() . '&parent=' . $this->getParentName() . '&view=Index';
143 143
 	}
144 144
 
145
+	/**
146
+	 * @param string $moduleName
147
+	 */
145 148
 	public function prepareMenuToDisplay($menuModels, $moduleName, $selectedMenuId, $fieldId)
146 149
 	{
147 150
 		if (!empty($selectedMenuId)) {
@@ -209,6 +212,9 @@  discard block
 block discarded – undo
209 212
 		return $menu;
210 213
 	}
211 214
 
215
+	/**
216
+	 * @param string $block
217
+	 */
212 218
 	public static function addSettingsField($block, $params)
213 219
 	{
214 220
 		$db = App\Db::getInstance();
@@ -220,6 +226,10 @@  discard block
 block discarded – undo
220 226
 		$db->createCommand()->insert('vtiger_settings_field', $params)->execute();
221 227
 	}
222 228
 
229
+	/**
230
+	 * @param string $block
231
+	 * @param string $name
232
+	 */
223 233
 	public static function deleteSettingsField($block, $name)
224 234
 	{
225 235
 		App\Db::getInstance()->createCommand()->delete('vtiger_settings_field', ['name' => $name, 'blockid' => vtlib\Deprecated::getSettingsBlockId($block)])->execute();
@@ -228,7 +238,7 @@  discard block
 block discarded – undo
228 238
 	/**
229 239
 	 * Delete settings field by module name.
230 240
 	 *
231
-	 * @param type $moduleName
241
+	 * @param boolean $moduleName
232 242
 	 */
233 243
 	public static function deleteSettingsFieldBymodule($moduleName)
234 244
 	{
Please login to merge, or discard this patch.
modules/Settings/WebserviceApps/models/Record.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/WebserviceUsers/models/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/WebserviceUsers/models/Record.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/Widgets/models/Module.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/Workflows/models/Record.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/Workflows/models/RecordStructure.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.