Completed
Pull Request — developer (#8932)
by Sławomir
120:59 queued 101:08
created
app/Custom/NumberToWords.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 	 * Provides a verbal value of total amount with numbers after a comma.
176 176
 	 * Does not accept values separated with a comma (as non-numerical values).
177 177
 	 *
178
-	 * @param int|string $amount
178
+	 * @param integer $amount
179 179
 	 * @param string     $currencyName
180 180
 	 * @param string     $centName
181 181
 	 *
@@ -203,9 +203,9 @@  discard block
 block discarded – undo
203 203
 	/**
204 204
 	 * Cleans double spaces and trimms.
205 205
 	 *
206
-	 * @param $string
206
+	 * @param string $string
207 207
 	 *
208
-	 * @return mixed
208
+	 * @return string
209 209
 	 */
210 210
 	protected static function clear($string)
211 211
 	{
Please login to merge, or discard this patch.
app/Db.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	/**
92 92
 	 * Load database connection configuration.
93 93
 	 *
94
-	 * @param array $type
94
+	 * @param string $type
95 95
 	 *
96 96
 	 * @return array with database configuration
97 97
 	 */
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 	 * The default implementation will create a PHP PDO instance.
155 155
 	 * You may override this method if the default PDO needs to be adapted for certain DBMS.
156 156
 	 *
157
-	 * @return PDO the pdo instance
157
+	 * @return \PDO the pdo instance
158 158
 	 */
159 159
 	protected function createPdoInstance()
160 160
 	{
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 	 *
214 214
 	 * @param string $tableName
215 215
 	 *
216
-	 * @return bool
216
+	 * @return boolean|null
217 217
 	 */
218 218
 	public function createTable($tableName, $columns)
219 219
 	{
Please login to merge, or discard this patch.
app/Db/Command.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,6 @@
 block discarded – undo
28 28
 	/**
29 29
 	 * Executes the SQL statement and returns ALL rows at once.
30 30
 	 *
31
-	 * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)
32
-	 *                       for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used
33 31
 	 *
34 32
 	 * @throws Exception execution failed
35 33
 	 *
Please login to merge, or discard this patch.
app/Db/Importer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,6 @@
 block discarded – undo
156 156
 	/**
157 157
 	 * Get additional SQL fragment that will be appended to the generated SQL.
158 158
 	 *
159
-	 * @param string $type
160 159
 	 * @param array  $table
161 160
 	 *
162 161
 	 * @return string
Please login to merge, or discard this patch.
app/EventHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	/**
171 171
 	 * Set record model.
172 172
 	 *
173
-	 * @param \App\Vtiger_Record_Model $recordModel
173
+	 * @param \Vtiger_Record_Model $recordModel
174 174
 	 */
175 175
 	public function setRecordModel(\Vtiger_Record_Model $recordModel)
176 176
 	{
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 	/**
201 201
 	 * Add param.
202 202
 	 *
203
-	 * @param array $params
203
+	 * @param string $key
204 204
 	 */
205 205
 	public function addParams($key, $value)
206 206
 	{
Please login to merge, or discard this patch.
app/Fields/Date.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 	 * @link https://secure.php.net/manual/en/class.dateinterval.php
170 170
 	 * @link https://secure.php.net/manual/en/dateinterval.format.php
171 171
 	 *
172
-	 * @return string|int difference in format
172
+	 * @return double difference in format
173 173
 	 */
174 174
 	public static function getDiff($start, $end, $format = '%a')
175 175
 	{
Please login to merge, or discard this patch.
app/Fields/Email.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 	 * @param string $value
18 18
 	 * @param string $moduleName
19 19
 	 *
20
-	 * @return bool|string
20
+	 * @return string|false
21 21
 	 */
22 22
 	public static function findRecordNumber($value, $moduleName)
23 23
 	{
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	/**
37 37
 	 * Find crm id by email.
38 38
 	 *
39
-	 * @param string|int $value
39
+	 * @param string $value
40 40
 	 * @param array      $allowedModules
41 41
 	 * @param array      $skipModules
42 42
 	 *
Please login to merge, or discard this patch.
app/Fields/Picklist.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -272,6 +272,7 @@
 block discarded – undo
272 272
 	/**
273 273
 	 * Get colors for all fields or generate it if not exists.
274 274
 	 *
275
+	 * @param string $fieldName
275 276
 	 * @return array [$id=>'#FF00FF']
276 277
 	 */
277 278
 	public static function getColors($fieldName)
Please login to merge, or discard this patch.
app/Fields/Tree.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	 * @param int    $templateId
41 41
 	 * @param string $tree
42 42
 	 *
43
-	 * @return array[]
43
+	 * @return string
44 44
 	 */
45 45
 	public static function getValueByTreeId($templateId, $tree)
46 46
 	{
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 * @param string $moduleName
88 88
 	 * @param string $treeId
89 89
 	 *
90
-	 * @return string[]
90
+	 * @return string
91 91
 	 */
92 92
 	public static function getPicklistValueImage($templateId, $moduleName, $treeId)
93 93
 	{
Please login to merge, or discard this patch.