GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#53)
by
unknown
10:41
created
src/Http/Classes/Click/Click.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@  discard block
 block discarded – undo
146 146
         $this->response->setResult(Response::SUCCESS,$additional_params);
147 147
     }
148 148
 
149
+    /**
150
+     * @param string[] $fields
151
+     */
149 152
     private function check_for_required_field($fields)
150 153
     {
151 154
         $arr = $this->request->all();
@@ -162,6 +165,9 @@  discard block
 block discarded – undo
162 165
         return true;
163 166
     }
164 167
     
168
+    /**
169
+     * @param integer $currency
170
+     */
165 171
     public function getRedirectParams($model, $amount, $currency, $url)
166 172
     {
167 173
         $time = date('Y-m-d H:i:s', time());
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,12 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Goodoneuz\PayUz\Http\Classes\Click;
3 3
 
4
-use Goodoneuz\PayUz\Models\Transaction;
4
+use Goodoneuz\PayUz\Http\Classes\BaseGateway;
5
+use Goodoneuz\PayUz\Http\Classes\DataFormat;
5 6
 use Goodoneuz\PayUz\Models\PaymentSystem;
7
+use Goodoneuz\PayUz\Models\Transaction;
6 8
 use Goodoneuz\PayUz\Services\PaymentService;
7
-use Goodoneuz\PayUz\Http\Classes\DataFormat;
8
-use Goodoneuz\PayUz\Http\Classes\BaseGateway;
9
-use Goodoneuz\PayUz\Http\Classes\PaymentException;
10 9
 use Goodoneuz\PayUz\Services\PaymentSystemService;
11 10
 
12 11
 class Click extends BaseGateway 
Please login to merge, or discard this patch.
src/Http/Classes/Payme/Payme.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -427,6 +427,10 @@
 block discarded – undo
427 427
         return $result;
428 428
 
429 429
     }
430
+
431
+    /**
432
+     * @param integer $currency
433
+     */
430 434
     public function getRedirectParams($model, $amount, $currency, $url){
431 435
         return [
432 436
             'merchant' => $this->config['merchant_id'],
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Goodoneuz\PayUz\Http\Classes\Payme;
3 3
 
4
-use Goodoneuz\PayUz\Models\Transaction;
5
-use Goodoneuz\PayUz\Models\PaymentSystem;
6
-use Goodoneuz\PayUz\Services\PaymentService;
7
-use Goodoneuz\PayUz\Http\Classes\DataFormat;
8 4
 use Goodoneuz\PayUz\Http\Classes\BaseGateway;
9
-use Goodoneuz\PayUz\Models\PaymentSystemParam;
5
+use Goodoneuz\PayUz\Http\Classes\DataFormat;
10 6
 use Goodoneuz\PayUz\Http\Classes\PaymentException;
7
+use Goodoneuz\PayUz\Models\PaymentSystem;
8
+use Goodoneuz\PayUz\Models\PaymentSystemParam;
9
+use Goodoneuz\PayUz\Models\Transaction;
10
+use Goodoneuz\PayUz\Services\PaymentService;
11 11
 use Goodoneuz\PayUz\Services\PaymentSystemService;
12 12
 
13 13
 class Payme extends BaseGateway {
Please login to merge, or discard this patch.
src/Http/Classes/Payme/Request.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * Request constructor.
25 25
      * Parses request payload and populates properties with values.
26
+     * @param Response $response
26 27
      */
27 28
     public function __construct($response)
28 29
     {
Please login to merge, or discard this patch.
src/Http/Controllers/ApiController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 namespace Goodoneuz\PayUz\Http\Controllers;
10 10
 
11 11
 
12
-use Illuminate\Http\Request;
13 12
 use App\Http\Controllers\Controller;
13
+use Illuminate\Http\Request;
14 14
 
15 15
 class ApiController extends Controller
16 16
 {
Please login to merge, or discard this patch.
src/PayUz.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,14 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Goodoneuz\PayUz;
4 4
 
5
-use Illuminate\Support\Facades\View;
6
-use Goodoneuz\PayUz\Models\Transaction;
7
-use Goodoneuz\PayUz\Models\PaymentSystem;
8
-use Goodoneuz\PayUz\Http\Classes\Payme\Payme;
9 5
 use Goodoneuz\PayUz\Http\Classes\Click\Click;
6
+use Goodoneuz\PayUz\Http\Classes\Payme\Payme;
7
+use Goodoneuz\PayUz\Http\Classes\PaymentException;
10 8
 use Goodoneuz\PayUz\Http\Classes\Paynet\Paynet;
11 9
 use Goodoneuz\PayUz\Http\Classes\Stripe\Stripe;
12
-use Goodoneuz\PayUz\Http\Classes\PaymentException;
10
+use Goodoneuz\PayUz\Models\PaymentSystem;
11
+use Goodoneuz\PayUz\Models\Transaction;
13 12
 
14 13
 class PayUz
15 14
 {
Please login to merge, or discard this patch.
src/Http/Classes/Click/Response.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Goodoneuz\PayUz\Http\Classes\Click;
4 4
 
5
-use Goodoneuz\PayUz\Models\PaymentSystem;
6
-use Goodoneuz\PayUz\Services\PaymentService;
7 5
 use Goodoneuz\PayUz\Http\Classes\PaymentException;
6
+use Goodoneuz\PayUz\Models\PaymentSystem;
8 7
 use Goodoneuz\PayUz\Services\PaymentSystemService;
9 8
 
10 9
 class Response{
Please login to merge, or discard this patch.
src/Http/Classes/Oson/Oson.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 use App\Transaction;
7 7
 use Goodoneuz\PayUz\Classes\DataFormat;
8 8
 use Goodoneuz\PayUz\Classes\Oson\Merchant;
9
+use Goodoneuz\PayUz\Classes\Oson\OsonException;
9 10
 use Goodoneuz\PayUz\Classes\Paycom\Request;
10 11
 use Goodoneuz\PayUz\Http\Classes\BaseGateway;
11
-use Goodoneuz\PayUz\Classes\Oson\OsonException;
12 12
 
13 13
 class Oson extends BaseGateway
14 14
 {
Please login to merge, or discard this patch.
src/Http/Classes/Stripe/Stripe.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -69,6 +69,10 @@
 block discarded – undo
69 69
         header("Location: ". $this->request->url);
70 70
         echo "<script>window.location.href='".$this->request->url."';</script>";
71 71
     }
72
+
73
+    /**
74
+     * @param integer $currency
75
+     */
72 76
     public function getRedirectParams($model, $amount, $currency, $url){
73 77
     	return [
74 78
     		'config' => $this->config,
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,17 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Goodoneuz\PayUz\Http\Classes\Stripe;
3 3
 
4
-use Session;
5
-use Stripe as StripeGateway;
6
-use Illuminate\Http\Request;
7
-use Goodoneuz\PayUz\Models\Transaction;
8
-use Goodoneuz\PayUz\Models\PaymentSystem;
4
+use Goodoneuz\PayUz\Http\Classes\BaseGateway;
9 5
 use Goodoneuz\PayUz\Http\Classes\DataFormat;
6
+use Goodoneuz\PayUz\Models\PaymentSystem;
7
+use Goodoneuz\PayUz\Models\Transaction;
10 8
 use Goodoneuz\PayUz\Services\PaymentService;
11
-use Goodoneuz\PayUz\Http\Classes\BaseGateway;
12
-use Goodoneuz\PayUz\Models\PaymentSystemParam;
13 9
 use Goodoneuz\PayUz\Services\PaymentSystemService;
14
-use Goodoneuz\PayUz\Http\Classes\PaymentException;
10
+use Session;
11
+use Stripe as StripeGateway;
15 12
 
16 13
 class Stripe extends BaseGateway
17 14
 {
Please login to merge, or discard this patch.
src/Http/Classes/Uzcard/Uzcard.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Transaction;
7 7
 use Goodoneuz\PayUz\Http\Classes\BaseGateway;
8 8
 use Goodoneuz\PayUz\Http\Classes\Paycom\Format;
9
-use Goodoneuz\PayUz\Http\Classes\Paycom\Request;
10 9
 use Goodoneuz\PayUz\Http\Classes\Uzcard\Merchant;
11 10
 use Goodoneuz\PayUz\Http\Classes\Uzcard\WoywoException;
12 11
 
Please login to merge, or discard this patch.