Completed
Pull Request — developer (#8752)
by Sławomir
14:40
created
modules/Settings/Menu/models/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 	/**
47 47
 	 * Function to get editable fields.
48 48
 	 *
49
-	 * @return string[]
49
+	 * @return strung[]
50 50
 	 */
51 51
 	public function getEditFields()
52 52
 	{
Please login to merge, or discard this patch.
modules/Settings/ModuleManager/models/Module.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 	/**
174 174
 	 * Function to get restricted modules list.
175 175
 	 *
176
-	 * @return array List module names
176
+	 * @return string[] List module names
177 177
 	 */
178 178
 	public static function getActionsRestrictedModulesList()
179 179
 	{
@@ -285,6 +285,9 @@  discard block
 block discarded – undo
285 285
 		\App\Fields\RecordNumber::setNumber($module->id, 'N', 1);
286 286
 	}
287 287
 
288
+	/**
289
+	 * @return string
290
+	 */
288 291
 	public static function toAlphaNumeric($value)
289 292
 	{
290 293
 		return preg_replace('/[^a-zA-Z0-9_]/', '', $value);
Please login to merge, or discard this patch.
modules/Settings/PBX/models/Record.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -150,7 +150,6 @@  discard block
 block discarded – undo
150 150
 	 * Function to get the instance, given id.
151 151
 	 *
152 152
 	 * @param int    $id
153
-	 * @param string $type
154 153
 	 *
155 154
 	 * @return \self
156 155
 	 */
@@ -176,7 +175,7 @@  discard block
 block discarded – undo
176 175
 	/**
177 176
 	 * Function to get the clean instance.
178 177
 	 *
179
-	 * @return \self
178
+	 * @return Settings_PBX_Record_Model
180 179
 	 */
181 180
 	public static function getCleanInstance()
182 181
 	{
@@ -258,7 +257,6 @@  discard block
 block discarded – undo
258 257
 	/**
259 258
 	 * Save pbx instance.
260 259
 	 *
261
-	 * @param \App\Request $request
262 260
 	 *
263 261
 	 * @return bool
264 262
 	 */
Please login to merge, or discard this patch.
modules/Settings/Picklist/actions/SaveAjax.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 
29 29
 	// @function updates user tables with new picklist value for default event and status fields
30 30
 
31
+	/**
32
+	 * @param string $pickListFieldName
33
+	 */
31 34
 	public function updateDefaultPicklistValues($pickListFieldName, $oldValue, $newValue)
32 35
 	{
33 36
 		if ($pickListFieldName === 'activitytype') {
Please login to merge, or discard this patch.
modules/Settings/PickListDependency/models/Record.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/Roles/models/Record.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Function to set the immediate parent role.
58 58
 	 *
59
+	 * @param Settings_Roles_Record_Model $parentRole
59 60
 	 * @return <Settings_Roles_Record_Model> instance
60 61
 	 */
61 62
 	public function setParent($parentRole)
@@ -68,7 +69,7 @@  discard block
 block discarded – undo
68 69
 	/**
69 70
 	 * Function to get the immediate parent role.
70 71
 	 *
71
-	 * @return <Settings_Roles_Record_Model> instance
72
+	 * @return string instance
72 73
 	 */
73 74
 	public function getParent()
74 75
 	{
@@ -256,7 +257,7 @@  discard block
 block discarded – undo
256 257
 	/**
257 258
 	 * Function to add a child role to the current role.
258 259
 	 *
259
-	 * @param <Settings_Roles_Record_Model> $role
260
+	 * @param Settings_Roles_Record_Model $role
260 261
 	 *
261 262
 	 * @return Settings_Roles_Record_Model instance
262 263
 	 */
@@ -271,7 +272,7 @@  discard block
 block discarded – undo
271 272
 	/**
272 273
 	 * Function to move the current role and all its children nodes to the new parent role.
273 274
 	 *
274
-	 * @param <Settings_Roles_Record_Model> $newParentRole
275
+	 * @param Settings_Roles_Record_Model $newParentRole
275 276
 	 */
276 277
 	public function moveTo($newParentRole)
277 278
 	{
@@ -391,7 +392,7 @@  discard block
 block discarded – undo
391 392
 	/**
392 393
 	 * Function to delete the role.
393 394
 	 *
394
-	 * @param <Settings_Roles_Record_Model> $transferToRole
395
+	 * @param Settings_Roles_Record_Model $transferToRole
395 396
 	 */
396 397
 	public function delete($transferToRole)
397 398
 	{
Please login to merge, or discard this patch.
modules/Settings/SalesProcesses/models/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
modules/Settings/SharingAccess/models/Action.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
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.