Completed
Pull Request — developer (#8881)
by Sławomir
178:12 queued 163:40
created
app/Fields/Currency.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,9 +52,9 @@
 block discarded – undo
52 52
 	/**
53 53
 	 * Get currency by module name.
54 54
 	 *
55
-	 * @param bool|string $type
56 55
 	 *
57
-	 * @return array
56
+	 * @param integer $record
57
+	 * @return integer
58 58
 	 */
59 59
 	public static function getCurrencyByModule($record, $moduleName)
60 60
 	{
Please login to merge, or discard this patch.
app/PrivilegeUtil.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 	 * Get list of users based on group id.
280 280
 	 *
281 281
 	 * @param int        $groupId
282
-	 * @param bool|array $subGroups
282
+	 * @param boolean $subGroups
283 283
 	 * @param int        $i
284 284
 	 *
285 285
 	 * @return array
@@ -658,7 +658,7 @@  discard block
 block discarded – undo
658 658
 	 * Get data share.
659 659
 	 *
660 660
 	 * @param int $tabId
661
-	 * @param int $roleId
661
+	 * @param string $type
662 662
 	 *
663 663
 	 * @return array
664 664
 	 */
Please login to merge, or discard this patch.
modules/Settings/HideBlocks/models/Record.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@  discard block
 block discarded – undo
165 165
 		return false;
166 166
 	}
167 167
 
168
+	/**
169
+	 * @param string $qualifiedModuleName
170
+	 */
168 171
 	public static function getCleanInstance($qualifiedModuleName)
169 172
 	{
170 173
 		$className = Vtiger_Loader::getComponentClassName('Model', 'Record', $qualifiedModuleName);
@@ -208,6 +211,9 @@  discard block
 block discarded – undo
208 211
 		return $fieldValue;
209 212
 	}
210 213
 
214
+	/**
215
+	 * @param integer $blockId
216
+	 */
211 217
 	public static function getModuleInstanceByBlockId($blockId)
212 218
 	{
213 219
 		$tabid = (new \App\Db\Query())->select(['tabid'])
Please login to merge, or discard this patch.
modules/Vtiger/models/Multifilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 	/**
84 84
 	 * Set widget model to show.
85 85
 	 *
86
-	 * @param $widgetModel
86
+	 * @param Vtiger_Widget_Model $widgetModel
87 87
 	 *
88 88
 	 * @throws \App\Exceptions\AppException
89 89
 	 */
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	/**
100 100
 	 * Set filter id to show.
101 101
 	 *
102
-	 * @param $filterId
102
+	 * @param integer $filterId
103 103
 	 */
104 104
 	public function setFilterId($filterId)
105 105
 	{
Please login to merge, or discard this patch.
app/Mailer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 		$this->mailer = new \PHPMailer\PHPMailer\PHPMailer(false);
39 39
 		if (\AppConfig::debug('MAILER_DEBUG')) {
40 40
 			$this->mailer->SMTPDebug = 2;
41
-			$this->mailer->Debugoutput = function ($str, $level) {
41
+			$this->mailer->Debugoutput = function($str, $level) {
42 42
 				if (strpos(strtolower($str), 'error') !== false || strpos(strtolower($str), 'failed') !== false) {
43 43
 					Log::error(trim($str), 'Mailer');
44 44
 				} else {
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
 	{
406 406
 		$this->mailer->SMTPDebug = 2;
407 407
 		static::$error = [];
408
-		$this->mailer->Debugoutput = function ($str, $level) {
408
+		$this->mailer->Debugoutput = function($str, $level) {
409 409
 			if (strpos(strtolower($str), 'error') !== false || strpos(strtolower($str), 'failed') !== false) {
410 410
 				static::$error[] = trim($str);
411 411
 				Log::error(trim($str), 'Mailer');
Please login to merge, or discard this patch.
modules/Settings/TreesManager/models/ListView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 	/**
97 97
 	 * Load list view conditions.
98 98
 	 *
99
-	 * @return object
99
+	 * @return App\Db\Query
100 100
 	 */
101 101
 	public function loadListViewCondition()
102 102
 	{
Please login to merge, or discard this patch.
modules/ModTracker/models/Field.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@
 block discarded – undo
36 36
 	 * Function to set Field instance.
37 37
 	 *
38 38
 	 * @param Vtiger_Field_Model
39
+	 * @param Vtiger_Field_Model $fieldModel
39 40
 	 */
40 41
 	public function setFieldInstance($fieldModel)
41 42
 	{
Please login to merge, or discard this patch.
modules/RecycleBin/models/ListView.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
13 13
 {
14 14
 	/**
15 15
 	 * {@inheritdoc}
16
+	 * @param string $moduleName
16 17
 	 */
17 18
 	public static function getInstance($moduleName, $sourceModule = 0)
18 19
 	{
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/tasks/VTCreateEntityTask.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -106,6 +106,10 @@
 block discarded – undo
106 106
 		}
107 107
 	}
108 108
 
109
+	/**
110
+	 * @param Vtiger_Record_Model $recordModel
111
+	 * @param Vtiger_Record_Model $parentRecordModel
112
+	 */
109 113
 	public function setFieldMapping($fieldValueMapping, $recordModel, $parentRecordModel)
110 114
 	{
111 115
 		$ownerFields = [];
Please login to merge, or discard this patch.