Passed
Push — developer ( be0222...346aa7 )
by Mariusz
41:58 queued 06:52
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 \App\Exceptions\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/Controller/View.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
 	/**
41 41
 	 * Function to check permission.
42 42
 	 *
43
-	 * @param \App\Request $request
44 43
 	 *
45 44
 	 * @throws \App\Exceptions\NoPermitted
46 45
 	 */
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
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
 	 *
22 22
 	 * @param ConfigInterface $config
23 23
 	 * @param string          $type
24
+	 * @return void
24 25
 	 */
25 26
 	public function __construct(ConfigInterface $config, string $type);
26 27
 
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 mixed|null $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.
config/csrf_config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 	{
18 18
 		//Override the default expire time of token
19 19
 		\CsrfMagic\Csrf::$expires = 259200;
20
-		\CsrfMagic\Csrf::$callback = function ($tokens) {
20
+		\CsrfMagic\Csrf::$callback = function($tokens) {
21 21
 			throw new \App\Exceptions\BadRequest('Invalid request - Response For Illegal Access');
22 22
 		};
23 23
 		$js = PUBLIC_DIRECTORY . 'vendor/yetiforce/csrf-magic/src/Csrf.min.js';
Please login to merge, or discard this patch.