Passed
Push — master ( 0f9b49...745f5a )
by mahdi
02:31
created
src/Config/payment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     |
23 23
     */
24 24
     'drivers' => [
25
-        'zarinpal' => [ // set urls to https://sandbox.zarinpal.com/pg/rest/WebGate/ for using sandbox
25
+        'zarinpal' => [// set urls to https://sandbox.zarinpal.com/pg/rest/WebGate/ for using sandbox
26 26
             'apiPurchaseUrl' => 'https://www.zarinpal.com/pg/rest/WebGate/PaymentRequest.json',
27 27
             'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/',
28 28
             'apiVerificationUrl' => 'https://www.zarinpal.com/pg/rest/WebGate/PaymentVerification.json',
Please login to merge, or discard this patch.
config/payment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     |
23 23
     */
24 24
     'drivers' => [
25
-        'zarinpal' => [ // set urls to https://sandbox.zarinpal.com/pg/rest/WebGate/ for using sandbox
25
+        'zarinpal' => [// set urls to https://sandbox.zarinpal.com/pg/rest/WebGate/ for using sandbox
26 26
             'apiPurchaseUrl' => 'https://www.zarinpal.com/pg/rest/WebGate/PaymentRequest.json',
27 27
             'apiPaymentUrl' => 'https://www.zarinpal.com/pg/StartPay/',
28 28
             'apiVerificationUrl' => 'https://www.zarinpal.com/pg/rest/WebGate/PaymentVerification.json',
Please login to merge, or discard this patch.
src/Provider/PaymentServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function boot()
16 16
     {
17
-        $this->loadViewsFrom(__DIR__ . '/resources/views', 'shetabitPayment');
17
+        $this->loadViewsFrom(__DIR__.'/resources/views', 'shetabitPayment');
18 18
 
19 19
         /**
20 20
          * Configurations that needs to be done by user.
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
          */
32 32
         $this->publishes(
33 33
             [
34
-                __DIR__ . '/../../resources/views' => resource_path('views/vendor/shetabitPayment')
34
+                __DIR__.'/../../resources/views' => resource_path('views/vendor/shetabitPayment')
35 35
             ],
36 36
             'views'
37 37
         );
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         /**
48 48
          * Bind to service container.
49 49
          */
50
-        $this->app->bind('shetabit-payment', function () {
50
+        $this->app->bind('shetabit-payment', function() {
51 51
             return new PaymentManager(config('payment'));
52 52
         });
53 53
     }
Please login to merge, or discard this patch.