Completed
Pull Request — developer (#8881)
by Sławomir
178:12 queued 163:40
created
modules/ModTracker/handlers/ModTrackerHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 	 *
129 129
 	 * @param App\EventHandler $eventHandler
130 130
 	 *
131
-	 * @return bool
131
+	 * @return false|null
132 132
 	 */
133 133
 	public function entityAfterTransferLink(App\EventHandler $eventHandler)
134 134
 	{
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 	/**
143 143
 	 * @param App\EventHandler $eventHandler
144 144
 	 *
145
-	 * @return bool
145
+	 * @return false|null
146 146
 	 */
147 147
 	public function entityAfterTransferUnLink(App\EventHandler $eventHandler)
148 148
 	{
Please login to merge, or discard this patch.
include/fields/CurrencyField.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
 	 * @param \App\User $user
433 433
 	 * @param bool      $skipConversion
434 434
 	 *
435
-	 * @return Number
435
+	 * @return string
436 436
 	 */
437 437
 	public static function convertToDBFormat($value, $user = null, $skipConversion = false)
438 438
 	{
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
 	/**
447 447
 	 * Function to get the default CRM currency.
448 448
 	 *
449
-	 * @return int Default system currency id
449
+	 * @return string|null Default system currency id
450 450
 	 */
451 451
 	public static function getDBCurrencyId()
452 452
 	{
@@ -457,6 +457,9 @@  discard block
 block discarded – undo
457 457
 		return null;
458 458
 	}
459 459
 
460
+	/**
461
+	 * @param double $amount
462
+	 */
460 463
 	public static function convertToDollar($amount, $conversionRate)
461 464
 	{
462 465
 		if ($conversionRate == 0) {
Please login to merge, or discard this patch.
modules/Vtiger/uitypes/Currency.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,11 +85,11 @@
 block discarded – undo
85 85
 	/**
86 86
 	 * Function that converts the Number into Users Currency along with currency symbol.
87 87
 	 *
88
-	 * @param int|string $value
88
+	 * @param string $value
89 89
 	 * @param int        $recordId
90 90
 	 * @param int        $uiType
91 91
 	 *
92
-	 * @return Formatted Currency
92
+	 * @return string Currency
93 93
 	 */
94 94
 	public function getDetailViewDisplayValue($value, $recordId, $uiType)
95 95
 	{
Please login to merge, or discard this patch.
api/webservice/Portal/BaseModule/Fields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 			$block = $field->get('block');
29 29
 			if (!isset($blocks[$block->id])) {
30 30
 				$blockProperties = get_object_vars($block);
31
-				$blocks[$block->id] = array_filter($blockProperties, function ($v) {
31
+				$blocks[$block->id] = array_filter($blockProperties, function($v) {
32 32
 					return !\is_object($v);
33 33
 				});
34 34
 				$blocks[$block->id]['name'] = \App\Language::translate($block->label, $moduleName);
Please login to merge, or discard this patch.
modules/Calendar/models/ListView.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	 *
78 78
 	 * @param array $linkParams
79 79
 	 *
80
-	 * @return array - Associative array of Link type to List of  Vtiger_Link_Model instances for Mass Actions
80
+	 * @return Vtiger_Link_Model[] - Associative array of Link type to List of  Vtiger_Link_Model instances for Mass Actions
81 81
 	 */
82 82
 	public function getListViewMassActions($linkParams)
83 83
 	{
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 	 *
145 145
 	 * @param Vtiger_Paging_Model $pagingModel
146 146
 	 *
147
-	 * @return array - Associative array of record id mapped to Vtiger_Record_Model instance
147
+	 * @return Vtiger_Record_Model[] - Associative array of record id mapped to Vtiger_Record_Model instance
148 148
 	 */
149 149
 	public function getListViewEntries(Vtiger_Paging_Model $pagingModel)
150 150
 	{
Please login to merge, or discard this patch.
modules/Vtiger/models/ListView.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	 *
81 81
 	 * @param array $linkParams
82 82
 	 *
83
-	 * @return array List of Vtiger_Link_Model instances
83
+	 * @return Vtiger_Link_Model[] List of Vtiger_Link_Model instances
84 84
 	 */
85 85
 	public function getHederLinks($linkParams)
86 86
 	{
@@ -504,7 +504,6 @@  discard block
 block discarded – undo
504 504
 	/**
505 505
 	 * Function to get the list view entries.
506 506
 	 *
507
-	 * @param Vtiger_Paging_Model $pagingModel
508 507
 	 *
509 508
 	 * @return array - Associative array of record id mapped to Vtiger_Record_Model instance.
510 509
 	 */
Please login to merge, or discard this patch.
modules/Competition/Competition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
 	 *
378 378
 	 * @param int   $id
379 379
 	 * @param array $parent
380
-	 * @param array $encountered
380
+	 * @param integer[] $encountered
381 381
 	 * @param int   $depthBase
382 382
 	 *
383 383
 	 * @return array
Please login to merge, or discard this patch.
app/YetiForce/Status.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
 	/**
124 124
 	 * Get last cron time param.
125 125
 	 *
126
-	 * @return array
126
+	 * @return string
127 127
 	 */
128 128
 	public function getLastCronTime()
129 129
 	{
Please login to merge, or discard this patch.
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.