Passed
Pull Request — master (#238)
by
unknown
04:55 queued 02:21
created
src/Drivers/Zibal/Zibal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function purchase()
60 60
     {
61
-        $this->invoice->uuid($this->invoice->getNumericUuid() . time());
61
+        $this->invoice->uuid($this->invoice->getNumericUuid().time());
62 62
         $details = $this->invoice->getDetails();
63 63
 
64 64
         $amount = $this->invoice->getAmount() * ($this->settings->currency == 'T' ? 10 : 1); // convert to rial
Please login to merge, or discard this patch.
src/Drivers/Nextpay/Nextpay.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function __construct(Invoice $invoice, $settings)
46 46
     {
47 47
         $this->invoice($invoice);
48
-        $this->settings = (object)$settings;
48
+        $this->settings = (object) $settings;
49 49
         $this->client = new Client();
50 50
     }
51 51
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function purchase()
61 61
     {
62
-        $this->invoice->uuid(intval(1, time()) . $this->invoice->getNumericUuid());
62
+        $this->invoice->uuid(intval(1, time()).$this->invoice->getNumericUuid());
63 63
         $data = [
64 64
             'api_key' => $this->settings->merchantId,
65 65
             'order_id' => $this->invoice->getUuid(),
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function pay(): RedirectionForm
124 124
     {
125
-        $payUrl = $this->settings->apiPaymentUrl . $this->invoice->getTransactionId();
125
+        $payUrl = $this->settings->apiPaymentUrl.$this->invoice->getTransactionId();
126 126
 
127 127
         return $this->redirectWithForm($payUrl, [], 'GET');
128 128
     }
Please login to merge, or discard this patch.