Completed
Pull Request — developer (#8612)
by Sławomir
96:08 queued 81:00
created
modules/Settings/SMSNotifier/models/Record.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
modules/Settings/TreesManager/models/Record.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@
 block discarded – undo
349 349
 	 *
350 350
 	 * @param int $record
351 351
 	 *
352
-	 * @return Settings_Roles_Record_Model instance, if exists. Null otherwise
352
+	 * @return Settings_TreesManager_Record_Model|null instance, if exists. Null otherwise
353 353
 	 */
354 354
 	public static function getInstanceById($record)
355 355
 	{
Please login to merge, or discard this patch.
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.