Skip to content

Commit 679d607

Browse files
author
Chris Smith
committed
Rebase from upstream and style fixes
1 parent 89bcc24 commit 679d607

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Core/Di/EasyCreditApiConfig.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace OxidProfessionalServices\EasyCredit\Core\Di;
1111

12-
1312
use OxidProfessionalServices\EasyCredit\Core\Helper\EasyCreditHelper;
1413

1514
/**

Core/Domain/EasyCreditBasket.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function hasInterestsAmount()
4040
*/
4141
public function getInterestsAmount()
4242
{
43-
if ( EasyCreditHelper::isEasyCreditInstallmentById($this->getPaymentId())) {
43+
if (EasyCreditHelper::isEasyCreditInstallmentById($this->getPaymentId())) {
4444

4545
$storage = $this->getDic()->getSession()->getStorage();
4646
if ($storage) {

Core/Helper/EasyCreditHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class EasyCreditHelper
2424
{
2525
/** string paymentid */
26-
const EASYCREDIT_PAYMENTID = "easycreditinstallment";
26+
public const EASYCREDIT_PAYMENTID = "easycreditinstallment";
2727

2828
/**
2929
* Returns the price relevant for the example calculation.

0 commit comments

Comments
 (0)