Passed
Push — master ( fdb428...24dd66 )
by Orkhan
02:26 queued 01:11
created
src/Response/PaymentKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,6 +38,6 @@
 block discarded – undo
38 38
      */
39 39
     public function paymentUrl(): string
40 40
     {
41
-        return self::PAYMENT_PAGE . $this->paymentKey;
41
+        return self::PAYMENT_PAGE.$this->paymentKey;
42 42
     }
43 43
 }
Please login to merge, or discard this patch.
src/Goldenpay.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
             'cardType'     => $cardType->getValue(),
70 70
             'description'  => $description,
71 71
             'lang'         => $lang ? $lang->getValue() : 'lv',
72
-            'hashCode'     => md5($this->authKey . $this->merchantName . $cardType->getValue() . $amount . $description),
72
+            'hashCode'     => md5($this->authKey.$this->merchantName.$cardType->getValue().$amount.$description),
73 73
         ]);
74 74
 
75 75
         if ($result['status']['code'] !== 1) {
76
-            throw new GoldenpayPaymentKeyException($result['status']['message'] . '. Code: ' . $result['status']['code']);
76
+            throw new GoldenpayPaymentKeyException($result['status']['message'].'. Code: '.$result['status']['code']);
77 77
         }
78 78
 
79 79
         return new PaymentKey(
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
         $result = $this->request('getPaymentResult', [
98 98
             'payment_key' => $paymentKey,
99
-            'hash_code'   => md5($this->authKey . $paymentKey),
99
+            'hash_code'   => md5($this->authKey.$paymentKey),
100 100
         ]);
101 101
 
102 102
         return new PaymentResult(
Please login to merge, or discard this patch.