Skip to content

Commit 8308866

Browse files
authored
Merge pull request #7 from devinweb/analysis-D2pKyL
Apply fixes from StyleCI
2 parents 186258e + f6be41f commit 8308866

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/LaravelHyperpay.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class LaravelHyperpay implements Hyperpay
3636
* @var string brand
3737
*/
3838
protected $brand;
39-
39+
4040
/**
4141
* @var string redirect_url
4242
*/
@@ -84,7 +84,6 @@ public function addBilling(BillingInterface $billing)
8484

8585
return $this;
8686
}
87-
8887

8988
/**
9089
* Prepare the checkout.
@@ -178,7 +177,7 @@ public function addMerchantTransactionId($id)
178177
}
179178

180179
/**
181-
* Add redirection url to the shopper to finalize the payment
180+
* Add redirection url to the shopper to finalize the payment.
182181
*
183182
* @param string $url
184183
*

src/Support/HttpResponse.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function addScriptUrl($base_url)
149149
*/
150150
public function addShopperResultUrl($redirect_url)
151151
{
152-
$url = $redirect_url ?:config('hyperpay.redirect_url');
152+
$url = $redirect_url ?: config('hyperpay.redirect_url');
153153

154154
$this->shopperResultUrl = $url;
155155

@@ -237,10 +237,9 @@ protected function updateTransaction($status, array $optionData)
237237
}
238238
}
239239

240-
241240
/**
242241
* Check the response status get it from hyperpay
243-
* if bad convert it to the ValidationException
242+
* if bad convert it to the ValidationException.
244243
*
245244
* @return mixed
246245
*/

0 commit comments

Comments
 (0)