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
Push — master ( c6ab8e...dea287 )
by Shaxzodbek
02:00 queued 37s
created
src/database/seeds/PayUzSeeder.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Goodoneuz\PayUz\Database\Seeds;
4 4
 
5
-use Illuminate\Database\Seeder;
6
-use Illuminate\Support\Facades\Schema;
7 5
 use Goodoneuz\PayUz\Models\PaymentSystem;
8 6
 use Goodoneuz\PayUz\Models\PaymentSystemParam;
7
+use Illuminate\Database\Seeder;
8
+use Illuminate\Support\Facades\Schema;
9 9
 
10 10
 class PayUzSeeder extends Seeder
11 11
 {
Please login to merge, or discard this patch.
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/Click/Merchant.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
     private $response;
12 12
     
13 13
     
14
+    /**
15
+     * @param Response $response
16
+     */
14 17
     public function __construct($response)
15 18
     {
16 19
         $this->config   = PaymentSystemService::getPaymentSystemParamsCollect(PaymentSystem::CLICK);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Goodoneuz\PayUz\Http\Classes\Click;
4 4
 
5 5
 use Goodoneuz\PayUz\Models\PaymentSystem;
6
-use Goodoneuz\PayUz\Http\Classes\PaymentException;
7 6
 use Goodoneuz\PayUz\Services\PaymentSystemService;
8 7
 
9 8
 class Merchant{
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/Http/Controllers/PaymentSystemController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      * Store a newly created resource in storage.
44 44
      *
45 45
      * @param  \Illuminate\Http\Request  $request
46
-     * @return \Illuminate\Http\Response
46
+     * @return \Illuminate\Http\RedirectResponse
47 47
      */
48 48
     public function store(Request $request)
49 49
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@
 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;
14
-use Illuminate\Support\Facades\Validator;
15 13
 use Goodoneuz\PayUz\Models\PaymentSystem;
16 14
 use Goodoneuz\PayUz\Models\PaymentSystemParam;
17 15
 use Goodoneuz\PayUz\Services\PaymentSystemService;
16
+use Illuminate\Http\Request;
17
+use Illuminate\Support\Facades\Validator;
18 18
 
19 19
 class PaymentSystemController extends Controller
20 20
 {
Please login to merge, or discard this patch.
src/Models/Transaction.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Goodoneuz\PayUz\Models;
4 4
 
5
-use Illuminate\Database\Eloquent\Model;
6 5
 use Goodoneuz\PayUz\Http\Classes\DataFormat;
6
+use Illuminate\Database\Eloquent\Model;
7 7
 use Illuminate\Database\Eloquent\SoftDeletes;
8 8
 
9 9
 class Transaction extends Model
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.