Test Setup Failed
Pull Request — developer (#249)
by Arkadiusz
08:32
created
app/Api.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	}
170 170
 
171 171
 	/**
172
-	 * @param array $data
172
+	 * @param string $data
173 173
 	 *
174 174
 	 * @return string Encrypted string
175 175
 	 */
@@ -181,11 +181,11 @@  discard block
 block discarded – undo
181 181
 	}
182 182
 
183 183
 	/**
184
-	 * @param array $data
184
+	 * @param string $data
185 185
 	 *
186 186
 	 * @throws AppException
187 187
 	 *
188
-	 * @return array Decrypted string
188
+	 * @return string Decrypted string
189 189
 	 */
190 190
 	public function decryptData($data)
191 191
 	{
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	 * @param string $method
203 203
 	 * @param array  $data
204 204
 	 * @param array  $response
205
-	 * @param mixed  $rawResponse
205
+	 * @param string  $rawResponse
206 206
 	 */
207 207
 	public function addLogs($method, $data, $response, $rawResponse = false)
208 208
 	{
Please login to merge, or discard this patch.
app/Cache.php 2 patches
Doc Comments   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	 * Returns a Cache Item representing the specified key.
48 48
 	 *
49 49
 	 * @param string $key       Cache ID
50
-	 * @param mixed  $nameSpace
50
+	 * @param string  $nameSpace
51 51
 	 *
52 52
 	 * @return mixed
53 53
 	 */
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	 * @param string $key       Cache ID
76 76
 	 * @param mixed  $value     Data to store, supports string, array, objects
77 77
 	 * @param int    $duration  Cache TTL (in seconds)
78
-	 * @param mixed  $nameSpace
78
+	 * @param string  $nameSpace
79 79
 	 *
80 80
 	 * @return bool
81 81
 	 */
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 	 * @param string $key       Cache ID
94 94
 	 * @param mixed  $nameSpace
95 95
 	 *
96
-	 * @return bool
96
+	 * @return boolean|null
97 97
 	 */
98 98
 	public static function delete($nameSpace, $key)
99 99
 	{
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 	/**
104 104
 	 * Deletes all items in the cache.
105 105
 	 *
106
-	 * @return bool
106
+	 * @return boolean|null
107 107
 	 */
108 108
 	public static function clear()
109 109
 	{
@@ -142,7 +142,6 @@  discard block
 block discarded – undo
142 142
 	 * @param string $nameSpace
143 143
 	 * @param string $key       Cache ID
144 144
 	 * @param mixed  $value     Data to store
145
-	 * @param int    $duration  Cache TTL (in seconds)
146 145
 	 *
147 146
 	 * @return bool
148 147
 	 */
@@ -157,7 +156,7 @@  discard block
 block discarded – undo
157 156
 	 * @param string $nameSpace
158 157
 	 * @param string $key       Cache ID
159 158
 	 *
160
-	 * @return bool
159
+	 * @return boolean|null
161 160
 	 */
162 161
 	public static function staticDelete($nameSpace, $key)
163 162
 	{
@@ -167,7 +166,7 @@  discard block
 block discarded – undo
167 166
 	/**
168 167
 	 * Deletes all items in the static cache.
169 168
 	 *
170
-	 * @return bool
169
+	 * @return boolean|null
171 170
 	 */
172 171
 	public static function staticClear()
173 172
 	{
@@ -177,7 +176,7 @@  discard block
 block discarded – undo
177 176
 	/**
178 177
 	 * Clear the opcache after the script finishes.
179 178
 	 *
180
-	 * @return bool
179
+	 * @return false|null
181 180
 	 */
182 181
 	public static function clearOpcache()
183 182
 	{
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
 		if (static::$clearOpcache) {
185 185
 			return false;
186 186
 		}
187
-		register_shutdown_function(function () {
187
+		register_shutdown_function(function() {
188 188
 			static::resetOpcache();
189 189
 		});
190 190
 		static::$clearOpcache = true;
Please login to merge, or discard this patch.
app/Cache/Base.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	/**
27 27
 	 * Returns a cache item representing the specified key.
28 28
 	 *
29
-	 * @param string|array $key Cache ID
29
+	 * @param string $key Cache ID
30 30
 	 *
31 31
 	 * @return string|array
32 32
 	 */
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	/**
39 39
 	 * Confirms if the cache contains specified cache item.
40 40
 	 *
41
-	 * @param string|array $key Cache ID
41
+	 * @param string $key Cache ID
42 42
 	 *
43 43
 	 * @return bool
44 44
 	 */
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
 	/**
67 67
 	 * Removes the item from the cache.
68 68
 	 *
69
-	 * @param string|array $key Cache ID
69
+	 * @param string $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/Config.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	/**
53 53
 	 * Get all js configuratin in json.
54 54
 	 *
55
-	 * @return type
55
+	 * @return string
56 56
 	 */
57 57
 	public static function getJsEnv()
58 58
 	{
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 * Get integer config value.
88 88
 	 *
89 89
 	 * @param string $key
90
-	 * @param bool   $default
90
+	 * @param integer   $default
91 91
 	 *
92 92
 	 * @return int
93 93
 	 */
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
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 	/**
95 95
 	 * Error handler.
96 96
 	 *
97
-	 * @param string $errno
97
+	 * @param integer $errno
98 98
 	 * @param string $errstr
99 99
 	 * @param string $errfile
100 100
 	 * @param string $errline
Please login to merge, or discard this patch.
app/Log.php 2 patches
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
 	/**
42 42
 	 * Add error to log.
43 43
 	 *
44
-	 * @param mixed  $value
44
+	 * @param string  $value
45 45
 	 * @param string $category
46 46
 	 *
47 47
 	 * @return void
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 	/**
55 55
 	 * Add warning to log.
56 56
 	 *
57
-	 * @param mixed  $value
57
+	 * @param string  $value
58 58
 	 * @param string $category
59 59
 	 *
60 60
 	 * @return void
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 */
34 34
 	public static function init()
35 35
 	{
36
-		register_shutdown_function(function () {
36
+		register_shutdown_function(function() {
37 37
 			static::flush();
38 38
 		});
39 39
 	}
Please login to merge, or discard this patch.
app/Payments/PaymentsInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 	 * Construct.
21 21
 	 *
22 22
 	 * @param ConfigInterface $config
23
+	 * @return void
23 24
 	 */
24 25
 	public function __construct(ConfigInterface $config, string $type);
25 26
 
Please login to merge, or discard this patch.
app/Payments/Redsys.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -390,7 +390,7 @@
 block discarded – undo
390 390
 	 *
391 391
 	 * @param string $merchantParameters
392 392
 	 *
393
-	 * @return array
393
+	 * @return string
394 394
 	 */
395 395
 	private function decodeMerchantParameters(string $merchantParameters): array
396 396
 	{
Please login to merge, or discard this patch.
app/Response.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	/**
80 80
 	 * Set emit type.
81 81
 	 *
82
-	 * @param mixed $type
82
+	 * @param integer $type
83 83
 	 */
84 84
 	public function setEmitType($type)
85 85
 	{
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 	 * Set error data to send.
107 107
 	 *
108 108
 	 * @param mixed      $code
109
-	 * @param null|mixed $message
109
+	 * @param string $message
110 110
 	 * @param mixed      $trace
111 111
 	 */
112 112
 	public function setError($code, $message = null, $trace = false)
Please login to merge, or discard this patch.