[Changed] code cleanup

php cs fixer
This commit is contained in:
2024-11-25 18:48:39 +01:00
parent 2cd0652c31
commit c27834536d
47 changed files with 273 additions and 239 deletions

View File

@ -9,15 +9,15 @@ class Basket extends Basket_parent
/**
* @return string
*/
public function getPaymentOnPaymentId() :string
public function getPaymentOnPaymentId(): string
{
if ($this->getPaymentId()){
if ($this->getPaymentId()) {
$oPayment = oxNew(Payment::class);
if ($oPayment->load($this->getPaymentId())){
if ($oPayment->load($this->getPaymentId())) {
return $oPayment->getFieldData('oxdesc');
}
}
return "couldn't load payment!";
}
}
}