Passed
Push — developer ( 21bc99...fc13b2 )
by Błażej
15:22 queued 05:12
created
modules/Calendar/actions/Calendar.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
 		$response->emit();
110 110
 	}
111 111
 
112
+	/**
113
+	 * @param string $datetime
114
+	 */
112 115
 	public function changeDateTime($datetime, $delta)
113 116
 	{
114 117
 		$date = new DateTime($datetime);
Please login to merge, or discard this patch.
modules/Vtiger/actions/GenerateRecords.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 		}
18 18
 	}
19 19
 
20
+	/**
21
+	 * @param Vtiger_Record_Model $recordModel
22
+	 */
20 23
 	public function checkMandatoryFields($recordModel)
21 24
 	{
22 25
 		$mandatoryFields = $recordModel->getModule()->getMandatoryFieldModels();
Please login to merge, or discard this patch.
include/runtime/cache/Connector.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
 		return $ns . '-' . $key;
30 30
 	}
31 31
 
32
+	/**
33
+	 * @param string $namespace
34
+	 */
32 35
 	public function set($namespace, $key, $value)
33 36
 	{
34 37
 		$this->connection->set($this->cacheKey($namespace, $key), $value);
Please login to merge, or discard this patch.
modules/Vtiger/dashboards/ProductsSoldToRenew.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,11 +53,17 @@
 block discarded – undo
53 53
 		return $this->data = $data;
54 54
 	}
55 55
 
56
+	/**
57
+	 * @param string $key
58
+	 */
56 59
 	public function getFromData($key)
57 60
 	{
58 61
 		return $this->data[$key];
59 62
 	}
60 63
 
64
+	/**
65
+	 * @param Vtiger_Widget_Model $widgetModel
66
+	 */
61 67
 	public function setWidgetModel($widgetModel)
62 68
 	{
63 69
 		$this->widgetModel = $widgetModel;
Please login to merge, or discard this patch.
modules/Vtiger/widgets/RelatedModule.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -71,6 +71,11 @@
 block discarded – undo
71 71
 		return $widget;
72 72
 	}
73 73
 
74
+	/**
75
+	 * @param Vtiger_Module_Model $model
76
+	 * @param string $type
77
+	 * @param string $prefix
78
+	 */
74 79
 	public function getCheckboxLables($model, $type, $prefix)
75 80
 	{
76 81
 		$on = $prefix . 'ON_' . strtoupper($this->Data[$type]);
Please login to merge, or discard this patch.
modules/Vtiger/actions/Inventory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -130,6 +130,9 @@
 block discarded – undo
130 130
 		$response->emit();
131 131
 	}
132 132
 
133
+	/**
134
+	 * @param string $moduleName
135
+	 */
133 136
 	public function getRecordDetail($recordId, $currencyId, $moduleName, $fieldName)
134 137
 	{
135 138
 		$recordModel = Vtiger_Record_Model::getInstanceById($recordId);
Please login to merge, or discard this patch.
modules/Vtiger/models/TransferOwnership.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@  discard block
 block discarded – undo
98 98
 		}
99 99
 	}
100 100
 
101
+	/**
102
+	 * @param string $module
103
+	 */
101 104
 	public static function getInstance($module)
102 105
 	{
103 106
 		$instance = Vtiger_Cache::get('transferOwnership', $module);
@@ -150,6 +153,9 @@  discard block
 block discarded – undo
150 153
 		return $relatedModules;
151 154
 	}
152 155
 
156
+	/**
157
+	 * @param string $findModule
158
+	 */
153 159
 	public function getRelatedColumnName($relatedModule, $findModule)
154 160
 	{
155 161
 		$relatedModuleModel = Vtiger_Module_Model::getInstance($relatedModule);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 	{
62 62
 		foreach ($relatedModuleRecordIds as $record) {
63 63
 			$recordModel = Vtiger_Record_Model::getInstanceById($record, $module);
64
-			if($recordModel->isEditable()){
64
+			if ($recordModel->isEditable()) {
65 65
 				$recordModel->set('assigned_user_id', $transferOwnerId);
66 66
 				$recordModel->save();
67 67
 			}
Please login to merge, or discard this patch.
modules/Settings/Vtiger/models/Tracker.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
 		'delete' => 3,
20 20
 	];
21 21
 
22
+	/**
23
+	 * @param string $type
24
+	 */
22 25
 	public static function addBasic($type)
23 26
 	{
24 27
 		$db = App\Db::getInstance('log');
@@ -41,6 +44,9 @@  discard block
 block discarded – undo
41 44
 		}
42 45
 	}
43 46
 
47
+	/**
48
+	 * @param string $type
49
+	 */
44 50
 	public static function changeType($type)
45 51
 	{
46 52
 		App\Db::getInstance('log')->createCommand()
Please login to merge, or discard this patch.
modules/OSSMailView/models/Record.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -227,6 +227,9 @@
 block discarded – undo
227 227
 		\App\Db::getInstance()->createCommand()->update('vtiger_ossmailview', ['ossmailview_sendtype' => $mailType[$mail_type], 'type' => $mail_type], ['ossmailviewid' => $selectedIds])->execute();
228 228
 	}
229 229
 
230
+	/**
231
+	 * @param string $action
232
+	 */
230 233
 	public function addLog($action, $info)
231 234
 	{
232 235
 		$user_id = Users_Record_Model::getCurrentUserModel()->get('user_name');
Please login to merge, or discard this patch.