Completed
Pull Request — developer (#8838)
by Sławomir
546:25 queued 528:51
created
app/Colors.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
 	/**
278 278
 	 * Function to update color for module.
279 279
 	 *
280
-	 * @param array $params
280
+	 * @param integer $id
281 281
 	 */
282 282
 	public static function updateModuleColor($id, $color)
283 283
 	{
Please login to merge, or discard this patch.
app/Controller/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 	 *
51 51
 	 * @param \App\Request $request
52 52
 	 *
53
-	 * @return bool
53
+	 * @return boolean|null
54 54
 	 */
55 55
 	public function validateRequest(\App\Request $request)
56 56
 	{
Please login to merge, or discard this patch.
app/Controller/ExposeMethod.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,6 @@
 block discarded – undo
49 49
 	/**
50 50
 	 * Function invokes exposed methods for this class.
51 51
 	 *
52
-	 * @param string       $name    - method name
53
-	 * @param \App\Request $request
54 52
 	 *
55 53
 	 * @throws \App\Exceptions\AppException
56 54
 	 *
Please login to merge, or discard this patch.
app/Controller/View.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -508,7 +508,7 @@
 block discarded – undo
508 508
 	 *
509 509
 	 * @param \App\Request $request
510 510
 	 *
511
-	 * @return string
511
+	 * @return string[]
512 512
 	 */
513 513
 	public function getJSLanguageStrings(\App\Request $request)
514 514
 	{
Please login to merge, or discard this patch.
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.