Completed
Pull Request — developer (#8881)
by Sławomir
178:12 queued 163:40
created
modules/Settings/PublicHoliday/models/Module.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@  discard block
 block discarded – undo
11 11
 	/**
12 12
 	 * Gets list of holidays.
13 13
 	 *
14
-	 * @param string $dateStart - beginning date
15
-	 * @param string $dateTo    - ending date
14
+	 * @param string $date    - ending date
16 15
 	 *
17 16
 	 * @return - array of holidays success, false on failure
18 17
 	 */
@@ -50,7 +49,7 @@  discard block
 block discarded – undo
50 49
 	/**
51 50
 	 * Delete holiday.
52 51
 	 *
53
-	 * @param <Int> $id - id of holiday
52
+	 * @param integer $id - id of holiday
54 53
 	 *
55 54
 	 * @return - true on success, false on failure
56 55
 	 */
@@ -97,7 +96,7 @@  discard block
 block discarded – undo
97 96
 	/**
98 97
 	 * Edit holiday.
99 98
 	 *
100
-	 * @param <Int>  $id   - id of the holiday
99
+	 * @param integer  $id   - id of the holiday
101 100
 	 * @param string $date - date of the holiday
102 101
 	 * @param string $name - name of the holiday
103 102
 	 * @param string $type - name of the holiday
Please login to merge, or discard this patch.
modules/Settings/RealizationProcesses/models/Module.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -52,6 +52,7 @@
 block discarded – undo
52 52
 	/**
53 53
 	 * Update status.
54 54
 	 *
55
+	 * @param integer $moduleId
55 56
 	 * @return - array of status
56 57
 	 */
57 58
 	public static function updateStatusNotModify($moduleId, $status)
Please login to merge, or discard this patch.
app/Base.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	 * @param string $key
42 42
 	 * @param bool   $skipEmtpy Skip the check if string is empty
43 43
 	 *
44
-	 * @return mixed Value for the given key
44
+	 * @return string|boolean Value for the given key
45 45
 	 */
46 46
 	public function getForSql($key, $skipEmtpy = true)
47 47
 	{
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 	 *
54 54
 	 * @param string $key
55 55
 	 *
56
-	 * @return mixed
56
+	 * @return string
57 57
 	 */
58 58
 	public function getForHtml($key)
59 59
 	{
Please login to merge, or discard this patch.
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.