Completed
Pull Request — developer (#8962)
by Sławomir
102:25 queued 87:50
created
modules/Import/models/Map.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
 		return new self($map);
40 40
 	}
41 41
 
42
+	/**
43
+	 * @param integer $mapId
44
+	 */
42 45
 	public static function markAsDeleted($mapId)
43 46
 	{
44 47
 		\App\Db::getInstance()
@@ -57,6 +60,9 @@  discard block
 block discarded – undo
57 60
 		return $this->map;
58 61
 	}
59 62
 
63
+	/**
64
+	 * @param string $key
65
+	 */
60 66
 	public function getValue($key)
61 67
 	{
62 68
 		return $this->map[$key];
@@ -91,6 +97,9 @@  discard block
 block discarded – undo
91 97
 		}
92 98
 	}
93 99
 
100
+	/**
101
+	 * @param string $moduleName
102
+	 */
94 103
 	public static function getAllByModule($moduleName)
95 104
 	{
96 105
 		$dataReader = (new App\Db\Query())->from(self::$tableName)
Please login to merge, or discard this patch.
modules/Settings/Inventory/models/Record.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,9 +110,6 @@  discard block
 block discarded – undo
110 110
 	}
111 111
 
112 112
 	/**    Function used to add the tax type which will do database alterations
113
-	 * @param string $taxlabel - tax label name to be added
114
-	 * @param string $taxvalue - tax value to be added
115
-	 * @param string $sh       - sh or empty , if sh passed then the tax will be added in shipping and handling related table
116 113
 	 */
117 114
 	public function add()
118 115
 	{
@@ -168,6 +165,9 @@  discard block
 block discarded – undo
168 165
 		throw new Error('Error occurred while deleting value');
169 166
 	}
170 167
 
168
+	/**
169
+	 * @param string $type
170
+	 */
171 171
 	public static function getDataAll($type)
172 172
 	{
173 173
 		$recordList = [];
Please login to merge, or discard this patch.
vtlib/Vtiger/Cron.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,8 @@  discard block
 block discarded – undo
38 38
 	/**
39 39
 	 * set the value to the data.
40 40
 	 *
41
-	 * @param type $value ,$key
41
+	 * @param integer $value ,$key
42
+	 * @param string $key
42 43
 	 */
43 44
 	public function set($key, $value)
44 45
 	{
@@ -195,6 +196,7 @@  discard block
 block discarded – undo
195 196
 
196 197
 	/**
197 198
 	 * Helper function to check the status value.
199
+	 * @param integer $value
198 200
 	 */
199 201
 	public function statusEqual($value)
200 202
 	{
@@ -271,7 +273,7 @@  discard block
 block discarded – undo
271 273
 	/**
272 274
 	 * Mark this instance as finished.
273 275
 	 *
274
-	 * @return int
276
+	 * @return Cron
275 277
 	 */
276 278
 	public function markFinished()
277 279
 	{
Please login to merge, or discard this patch.
app/Map/Route/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 	 */
74 74
 	public function addIndirectPoint(float $lat, float $lon)
75 75
 	{
76
-		$this->indirectPoints[]= ['lat' => $lat, 'lon' => $lon];
76
+		$this->indirectPoints[] = ['lat' => $lat, 'lon' => $lon];
77 77
 	}
78 78
 
79 79
 	/**
Please login to merge, or discard this patch.
modules/Vtiger/models/SocialMedia.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@
 block discarded – undo
49 49
 	/**
50 50
 	 * Checking whether social media are available for the record.
51 51
 	 *
52
-	 * @param \Vtiger_Record_Model $recordModel
53 52
 	 *
54 53
 	 * @return bool
55 54
 	 */
Please login to merge, or discard this patch.
app/SocialMedia/Twitter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 	/**
66 66
 	 * Get query for list records.
67 67
 	 *
68
-	 * @param string|string[] $twitterLogin
68
+	 * @param string[] $twitterLogin
69 69
 	 *
70 70
 	 * @return \App\Db\Query
71 71
 	 */
Please login to merge, or discard this patch.
modules/Calendar/models/RecuringEvents.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
 	 *
277 277
 	 * @param type $recurrenceRule
278 278
 	 *
279
-	 * @return type
279
+	 * @return boolean
280 280
 	 */
281 281
 	public function isNeverEndingRule($recurrenceRule)
282 282
 	{
Please login to merge, or discard this patch.
modules/Settings/Picklist/models/Module.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	/**
23 23
 	 * Function gives fields based on the type.
24 24
 	 *
25
-	 * @param string|string[] $type - field type
25
+	 * @param string[] $type - field type
26 26
 	 *
27 27
 	 * @return Settings_Picklist_Field_Model[] - list of field models
28 28
 	 */
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 	 * @param \App\Db $db
178 178
 	 * @param string  $tableName
179 179
 	 *
180
-	 * @return bool
180
+	 * @return integer
181 181
 	 */
182 182
 	public function addDescriptionColumn($db, $tableName)
183 183
 	{
@@ -214,6 +214,9 @@  discard block
 block discarded – undo
214 214
 		\App\Cache::delete('getCloseStates', $fieldModel->get('tabid'));
215 215
 	}
216 216
 
217
+	/**
218
+	 * @param string|boolean $pickListFieldName
219
+	 */
217 220
 	public function remove($pickListFieldName, $valueToDeleteId, $replaceValueId, $moduleName)
218 221
 	{
219 222
 		$dbCommand = App\Db::getInstance()->createCommand();
@@ -266,6 +269,9 @@  discard block
 block discarded – undo
266 269
 		return true;
267 270
 	}
268 271
 
272
+	/**
273
+	 * @param string|boolean $picklistFieldName
274
+	 */
269 275
 	public function enableOrDisableValuesForRole($picklistFieldName, $valuesToEnables, $valuesToDisable, $roleIdList)
270 276
 	{
271 277
 		$db = App\Db::getInstance();
Please login to merge, or discard this patch.
app/SocialMedia.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
 	 *
254 254
 	 * @throws \App\Exceptions\AppException
255 255
 	 *
256
-	 * @return \App\SocialMedia\Base|\Generator|void
256
+	 * @return \Generator
257 257
 	 */
258 258
 	public static function getSocialMediaAccount($socialMediaType)
259 259
 	{
Please login to merge, or discard this patch.