Completed
Push — developer ( f53b91...475c9e )
by Błażej
386:14 queued 360:35
created
modules/ModTracker/models/Relation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 		return $this->getLinkedRecord()->getName();
18 18
 	}
19 19
 
20
+	/**
21
+	 * @param ModTracker_Record_Model $parent
22
+	 */
20 23
 	public function setParent($parent)
21 24
 	{
22 25
 		$this->parent = $parent;
Please login to merge, or discard this patch.
modules/Vtiger/models/ExportToXml.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@  discard block
 block discarded – undo
107 107
 		return html_entity_decode($value);
108 108
 	}
109 109
 
110
+	/**
111
+	 * @param string $fileName
112
+	 */
110 113
 	public function outputFile($fileName)
111 114
 	{
112 115
 		header("Content-Disposition:attachment;filename=$fileName.xml");
@@ -119,6 +122,9 @@  discard block
 block discarded – undo
119 122
 		unlink($this->tmpXmlPath);
120 123
 	}
121 124
 
125
+	/**
126
+	 * @param string $fileName
127
+	 */
122 128
 	protected function outputZipFile($fileName)
123 129
 	{
124 130
 		$zipName = 'cache/import/' . uniqid() . '.zip';
Please login to merge, or discard this patch.
modules/Import/readers/XmlReader.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
 		return $recordData;
44 44
 	}
45 45
 
46
+	/**
47
+	 * @return string
48
+	 */
46 49
 	public function getFilePath()
47 50
 	{
48 51
 		if ($this->filePath) {
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
 		return !empty($this->request->get('xml_import_tpl'));
123 126
 	}
124 127
 
128
+	/**
129
+	 * @param string[] $key
130
+	 */
125 131
 	public function arrayCombine($key, $value)
126 132
 	{
127 133
 		$combine = [];
@@ -164,6 +170,9 @@  discard block
 block discarded – undo
164 170
 		return [$recordData, $recordInventoryData];
165 171
 	}
166 172
 
173
+	/**
174
+	 * @param string $keyType
175
+	 */
167 176
 	public function getInventoryData(XMLReader $xmlToImport, $keyType)
168 177
 	{
169 178
 		$recordInventoryData = [];
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/Vtiger/actions/Inventory.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -136,6 +136,10 @@
 block discarded – undo
136 136
 		$response->emit();
137 137
 	}
138 138
 
139
+	/**
140
+	 * @param integer $currencyId
141
+	 * @param string $moduleName
142
+	 */
139 143
 	public function getRecordDetail($recordId, $currencyId, $moduleName, $fieldName)
140 144
 	{
141 145
 		if (!\App\Privilege::isPermitted($moduleName, 'EditView', $recordId)) {
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.
modules/Settings/PBXManager/models/Record.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
 		return $serverModel;
50 50
 	}
51 51
 
52
+	/**
53
+	 * @param string $qualifiedModuleName
54
+	 */
52 55
 	public static function getInstanceById($recordId, $qualifiedModuleName)
53 56
 	{
54 57
 		$row = (new \App\Db\Query())->from(self::TABLE_NAME)->where(['id' => $recordId])->one();
Please login to merge, or discard this patch.
config/config.template.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
 // maximum file size for uploaded files in bytes also used when uploading import files
75 75
 // upload_maxsize default value = 3000000
76
-$upload_maxsize = 52428800;  // 50MB
76
+$upload_maxsize = 52428800; // 50MB
77 77
 // flag to allow export functionality
78 78
 // 'all' to allow anyone to use exports
79 79
 // 'admin' to only allow admins to export
Please login to merge, or discard this patch.
modules/ModTracker/models/Record.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -202,6 +202,9 @@  discard block
 block discarded – undo
202 202
 		return $this->parent;
203 203
 	}
204 204
 
205
+	/**
206
+	 * @param integer $callerStatus
207
+	 */
205 208
 	public function checkStatus($callerStatus)
206 209
 	{
207 210
 		$status = $this->get('status');
@@ -324,6 +327,9 @@  discard block
 block discarded – undo
324 327
 		return $relationInstance;
325 328
 	}
326 329
 
330
+	/**
331
+	 * @param integer $recordId
332
+	 */
327 333
 	public static function getTotalRecordCount($recordId, $type = false)
328 334
 	{
329 335
 		$where = self::getConditionByType($type);
@@ -331,6 +337,9 @@  discard block
 block discarded – undo
331 337
 		return $count;
332 338
 	}
333 339
 
340
+	/**
341
+	 * @param string|boolean $type
342
+	 */
334 343
 	public static function getConditionByType($type)
335 344
 	{
336 345
 		$where = [];
@@ -347,6 +356,10 @@  discard block
 block discarded – undo
347 356
 		return $where;
348 357
 	}
349 358
 
359
+	/**
360
+	 * @param string $sourceModule
361
+	 * @param integer $current_user
362
+	 */
350 363
 	public static function addConvertToAccountRelation($sourceModule, $sourceId, $current_user)
351 364
 	{
352 365
 		$db = \App\Db::getInstance();
Please login to merge, or discard this patch.