Completed
Pull Request — developer (#8881)
by Sławomir
178:12 queued 163:40
created
modules/Chat/views/Entries.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 	 * @throws \App\Exceptions\IllegalValue
99 99
 	 * @throws \App\Exceptions\NoPermittedToRecord
100 100
 	 *
101
-	 * @return \html
101
+	 * @return string|boolean
102 102
 	 */
103 103
 	public function getForRecord(\App\Request $request)
104 104
 	{
Please login to merge, or discard this patch.
app/Fields/Time.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	 *
32 32
 	 * @param $time
33 33
 	 *
34
-	 * @return mixed
34
+	 * @return string
35 35
 	 */
36 36
 	public static function formatToDB($time)
37 37
 	{
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 *
71 71
 	 * @param float    $decTime     time in decimal format 1.5 = 1h 30m
72 72
 	 * @param string   $type        hour text format 'short' or 'full'
73
-	 * @param int|bool $withSeconds if is provided as int then will be displayed
73
+	 * @param boolean $withSeconds if is provided as int then will be displayed
74 74
 	 *
75 75
 	 * @return string
76 76
 	 */
Please login to merge, or discard this patch.
config/modules/Backup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 	// Backup catalog path
12 12
 	'BACKUP_PATH' => '', //String
13 13
 	// Allowed extensions to show on the list
14
-	'EXT_TO_SHOW' => [ //array
14
+	'EXT_TO_SHOW' => [//array
15 15
 		'7z',
16 16
 		'bz2',
17 17
 		'gz',
Please login to merge, or discard this patch.
app/CustomView.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
 	 * Static Function to get the Instance of CustomView.
275 275
 	 *
276 276
 	 * @param string $moduleName
277
-	 * @param mixed  $userModelOrId
277
+	 * @param User  $userModelOrId
278 278
 	 *
279 279
 	 * @return \self
280 280
 	 */
@@ -488,7 +488,6 @@  discard block
 block discarded – undo
488 488
 	/**
489 489
 	 * Sorting conditions.
490 490
 	 *
491
-	 * @param array|null $array
492 491
 	 *
493 492
 	 * @return array|null
494 493
 	 */
@@ -550,7 +549,7 @@  discard block
 block discarded – undo
550 549
 	/**
551 550
 	 * Get default cvId.
552 551
 	 *
553
-	 * @return int|string
552
+	 * @return integer
554 553
 	 */
555 554
 	public function getDefaultCvId()
556 555
 	{
Please login to merge, or discard this patch.
app/QueryField/BaseField.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,6 @@  discard block
 block discarded – undo
53 53
 	 *
54 54
 	 * @param \App\QueryGenerator $queryGenerator
55 55
 	 * @param \Vtiger_Field_Model $fieldModel
56
-	 * @param string|array        $value
57
-	 * @param string              $operator
58 56
 	 */
59 57
 	public function __construct(\App\QueryGenerator $queryGenerator, $fieldModel = false)
60 58
 	{
@@ -159,7 +157,7 @@  discard block
 block discarded – undo
159 157
 	/**
160 158
 	 * Get condition.
161 159
 	 *
162
-	 * @return bool|array
160
+	 * @return string
163 161
 	 */
164 162
 	public function getCondition()
165 163
 	{
Please login to merge, or discard this patch.
app/Utils/Backup.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 	 * Read catalog with backup files and return catalogs and files list.
21 21
 	 *
22 22
 	 * @param string $catalogToRead
23
-	 * @param string $module
24 23
 	 *
25 24
 	 * @throws \App\Exceptions\NoPermitted
26 25
 	 *
Please login to merge, or discard this patch.
app/Chat.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,6 @@
 block discarded – undo
357 357
 	/**
358 358
 	 * Get getParticipants.
359 359
 	 *
360
-	 * @param int[] $excludedId
361 360
 	 *
362 361
 	 * @return array
363 362
 	 */
Please login to merge, or discard this patch.
modules/Vtiger/helpers/Util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
 	/**
204 204
 	 * Function to get the time value in user preferred hour format.
205 205
 	 *
206
-	 * @param <Time>               $time
206
+	 * @param string               $time
207 207
 	 * @param <Vtiger_Users_Model> $userObject
208 208
 	 *
209 209
 	 * @return string time with hour format
Please login to merge, or discard this patch.
vtlib/Vtiger/Deprecated.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@  discard block
 block discarded – undo
16 16
  */
17 17
 class Deprecated
18 18
 {
19
+	/**
20
+	 * @param string $module
21
+	 */
19 22
 	public static function getFullNameFromArray($module, $fieldValues)
20 23
 	{
21 24
 		$entityInfo = \App\Module::getEntityInfo($module);
@@ -153,6 +156,9 @@  discard block
 block discarded – undo
153 156
 		return $blockId;
154 157
 	}
155 158
 
159
+	/**
160
+	 * @param string $module
161
+	 */
156 162
 	public static function getSqlForNameInDisplayFormat($input, $module, $glue = ' ')
157 163
 	{
158 164
 		$entityFieldInfo = \App\Module::getEntityInfo($module);
@@ -171,6 +177,8 @@  discard block
 block discarded – undo
171 177
 	/**
172 178
 	 * This function returns no value but handles the delete functionality of each entity.
173 179
 	 * Input Parameter are $module - module name, $return_module - return module name, $focus - module object, $record - entity id, $return_id - return entity id.
180
+	 * @param integer $destinationRecordId
181
+	 * @param integer $sourceRecordId
174 182
 	 */
175 183
 	public static function deleteEntity($destinationModule, $sourceModule, \CRMEntity $focus, $destinationRecordId, $sourceRecordId, $relatedName = false)
176 184
 	{
@@ -230,6 +238,9 @@  discard block
 block discarded – undo
230 238
 		\App\Log::trace('Exiting relateEntities method ...');
231 239
 	}
232 240
 
241
+	/**
242
+	 * @param string $module
243
+	 */
233 244
 	public static function getColumnFields($module)
234 245
 	{
235 246
 		\App\Log::trace('Entering getColumnFields(' . $module . ') method ...');
Please login to merge, or discard this patch.