Completed
Pull Request — developer (#8932)
by Sławomir
120:59 queued 101:08
created
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.
app/Pdf/Tcpdf.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -102,6 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
 	/**
104 104
 	 * Sets library name.
105
+	 * @param string $name
105 106
 	 */
106 107
 	public function setLibraryName($name)
107 108
 	{
@@ -118,6 +119,7 @@  discard block
 block discarded – undo
118 119
 
119 120
 	/**
120 121
 	 * Sets the template id.
122
+	 * @param integer $id
121 123
 	 */
122 124
 	public function setTemplateId($id)
123 125
 	{
@@ -134,6 +136,7 @@  discard block
 block discarded – undo
134 136
 
135 137
 	/**
136 138
 	 * Sets the record id.
139
+	 * @param integer $id
137 140
 	 */
138 141
 	public function setRecordId($id)
139 142
 	{
@@ -150,6 +153,7 @@  discard block
 block discarded – undo
150 153
 
151 154
 	/**
152 155
 	 * Sets module name.
156
+	 * @param string $name
153 157
 	 */
154 158
 	public function setModuleName($name)
155 159
 	{
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.
modules/Settings/Inventory/models/Record.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,9 +110,6 @@  discard block
 block discarded – undo
110 110
 	}
111 111
 
112 112
 	/**    Function used to add the tax type which will do database alterations
113
-	 * @param string $taxlabel - tax label name to be added
114
-	 * @param string $taxvalue - tax value to be added
115
-	 * @param string $sh       - sh or empty , if sh passed then the tax will be added in shipping and handling related table
116 113
 	 */
117 114
 	public function add()
118 115
 	{
@@ -168,6 +165,9 @@  discard block
 block discarded – undo
168 165
 		throw new Error('Error occurred while deleting value');
169 166
 	}
170 167
 
168
+	/**
169
+	 * @param string $type
170
+	 */
171 171
 	public static function getDataAll($type)
172 172
 	{
173 173
 		$recordList = [];
Please login to merge, or discard this patch.
vtlib/Vtiger/Cron.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,8 @@  discard block
 block discarded – undo
38 38
 	/**
39 39
 	 * set the value to the data.
40 40
 	 *
41
-	 * @param type $value ,$key
41
+	 * @param integer $value ,$key
42
+	 * @param string $key
42 43
 	 */
43 44
 	public function set($key, $value)
44 45
 	{
@@ -195,6 +196,7 @@  discard block
 block discarded – undo
195 196
 
196 197
 	/**
197 198
 	 * Helper function to check the status value.
199
+	 * @param integer $value
198 200
 	 */
199 201
 	public function statusEqual($value)
200 202
 	{
@@ -271,7 +273,7 @@  discard block
 block discarded – undo
271 273
 	/**
272 274
 	 * Mark this instance as finished.
273 275
 	 *
274
-	 * @return int
276
+	 * @return Cron
275 277
 	 */
276 278
 	public function markFinished()
277 279
 	{
Please login to merge, or discard this patch.
app/Map/Route/Base.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
 	public function addIndirectPoint(float $lat, float $lon)
75 75
 	{
76
-		$this->indirectPoints[]= ['lat' => $lat, 'lon' => $lon];
76
+		$this->indirectPoints[] = ['lat' => $lat, 'lon' => $lon];
77 77
 	}
78 78
 
79 79
 	/**
Please login to merge, or discard this patch.
app/Pdf/Libs/Tcpdf.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -254,6 +254,8 @@
 block discarded – undo
254 254
 
255 255
 	/**
256 256
 	 * {@inheritdoc}
257
+	 * @param integer $left
258
+	 * @param integer $top
257 259
 	 */
258 260
 	public function setMargins($left, $top, $right = -1, $keepmargins = false)
259 261
 	{
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -297,14 +297,14 @@
 block discarded – undo
297 297
 			if (!empty($this->watermark['image']['path'])) {
298 298
 				$this->Image(
299 299
 					$this->watermark['image']['path'], // filename
300
-					0,  // x
301
-					$this->tMargin,  // y
300
+					0, // x
301
+					$this->tMargin, // y
302 302
 					$this->watermark['image']['width'], // width
303 303
 					$this->watermark['image']['height'], // height
304 304
 					'', // type jpg png
305 305
 					'', // url link
306 306
 					'M', // align
307
-					true,// resize
307
+					true, // resize
308 308
 					300, // dpi
309 309
 					'C', // palign
310 310
 					false, // is mask
Please login to merge, or discard this patch.
modules/Vtiger/models/SocialMedia.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@
 block discarded – undo
49 49
 	/**
50 50
 	 * Checking whether social media are available for the record.
51 51
 	 *
52
-	 * @param \Vtiger_Record_Model $recordModel
53 52
 	 *
54 53
 	 * @return bool
55 54
 	 */
Please login to merge, or discard this patch.
app/SocialMedia/Twitter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 	/**
66 66
 	 * Get query for list records.
67 67
 	 *
68
-	 * @param string|string[] $twitterLogin
68
+	 * @param string[] $twitterLogin
69 69
 	 *
70 70
 	 * @return \App\Db\Query
71 71
 	 */
Please login to merge, or discard this patch.