Completed
Pull Request — developer (#8752)
by Sławomir
14:40
created
app/Cache/Base.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	 *
69 69
 	 * @param string|array $key Cache ID
70 70
 	 *
71
-	 * @return bool
71
+	 * @return boolean|null
72 72
 	 */
73 73
 	public function delete($key)
74 74
 	{
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	/**
79 79
 	 * Deletes all items in the cache.
80 80
 	 *
81
-	 * @return bool
81
+	 * @return boolean|null
82 82
 	 */
83 83
 	public function clear()
84 84
 	{
Please login to merge, or discard this patch.
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.