Passed
Pull Request — master (#18)
by
unknown
03:27
created
src/Drivers/Payping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      */
122 122
     public function getPayUrl()
123 123
     {
124
-        return $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
124
+        return $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
125 125
     }
126 126
 
127 127
     /**
Please login to merge, or discard this patch.
src/Drivers/Idpay.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function pay()
101 101
     {
102
-        $apiUrl =  $this->settings->apiPaymentUrl;
102
+        $apiUrl = $this->settings->apiPaymentUrl;
103 103
 
104 104
         // use sandbox url if we are in sandbox mode
105 105
         if (!empty($this->settings->sandbox)) {
@@ -119,14 +119,14 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public function getPayUrl()
121 121
     {
122
-        $apiUrl =  $this->settings->apiPaymentUrl;
122
+        $apiUrl = $this->settings->apiPaymentUrl;
123 123
 
124 124
         // use sandbox url if we are in sandbox mode
125 125
         if (!empty($this->settings->sandbox)) {
126 126
             $apiUrl = $this->settings->apiSandboxPaymentUrl;
127 127
         }
128 128
 
129
-        return $apiUrl . $this->invoice->getTransactionId();
129
+        return $apiUrl.$this->invoice->getTransactionId();
130 130
     }
131 131
 
132 132
     /**
Please login to merge, or discard this patch.
src/Drivers/Poolam.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getPayUrl()
102 102
     {
103
-        return $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
103
+        return $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
src/Drivers/Yekpay.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function __construct(Invoice $invoice, $settings)
33 33
     {
34 34
         $this->invoice($invoice);
35
-        $this->settings = (object)$settings;
35
+        $this->settings = (object) $settings;
36 36
     }
37 37
 
38 38
     /**
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         $data->merchantId = $this->settings->merchantId;
67 67
         $data->amount = $this->invoice->getAmount();
68 68
         $data->callback = $this->settings->callbackUrl;
69
-        $data->orderNumber = intval(1, time()) . crc32($this->invoice->getUuid());
69
+        $data->orderNumber = intval(1, time()).crc32($this->invoice->getUuid());
70 70
 
71 71
         $data->fromCurrencyCode = 978;
72 72
         $data->toCurrencyCode = 364;
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function pay()
105 105
     {
106
-        $payUrl = $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
106
+        $payUrl = $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
107 107
 
108 108
         // redirect using laravel logic
109 109
         return redirect()->to($payUrl);
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function getPayUrl()
118 118
     {
119
-        return $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
119
+        return $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
src/Drivers/Payir.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
      */
114 114
     public function getPayUrl()
115 115
     {
116
-        return $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
116
+        return $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
117 117
     }
118 118
 
119 119
     /**
Please login to merge, or discard this patch.
src/Drivers/Paystar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function pay()
97 97
     {
98
-        $apiUrl =  $this->settings->apiPaymentUrl;
98
+        $apiUrl = $this->settings->apiPaymentUrl;
99 99
         $payUrl = $apiUrl.$this->invoice->getTransactionId();
100 100
 
101 101
         // redirect using laravel logic
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function getPayUrl()
111 111
     {
112
-        return $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
112
+        return $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
113 113
     }
114 114
 
115 115
     /**
Please login to merge, or discard this patch.
src/Drivers/Zarinpal.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public function __construct(Invoice $invoice, $settings)
41 41
     {
42 42
         $this->invoice($invoice);
43
-        $this->settings = (object)$settings;
43
+        $this->settings = (object) $settings;
44 44
         $this->client = new Client();
45 45
     }
46 46
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function pay()
91 91
     {
92
-        $payUrl = $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
92
+        $payUrl = $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
93 93
 
94 94
         // redirect using laravel logic
95 95
         return redirect()->to($payUrl);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     public function getPayUrl()
104 104
     {
105
-        return $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
105
+        return $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
106 106
     }
107 107
 
108 108
     /**
Please login to merge, or discard this patch.
src/Drivers/Nextpay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      */
102 102
     public function getPayUrl()
103 103
     {
104
-        return $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
104
+        return $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
105 105
     }
106 106
 
107 107
     /**
Please login to merge, or discard this patch.