Skip to content

Commit

Permalink
style-check
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Nov 29, 2023
1 parent e1e751d commit 28ee83f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/Controller/Admin/AdminOrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,13 @@ protected function getUnzerViewData(string $sPaymentId): void
* @param Charge $charge
* @return void
*/
protected function addChargeViewData(Charge $charge) {
protected function addChargeViewData(Charge $charge)
{
$holderData = [];
$holderData['bic'] = $charge->getBic();
$holderData['iban'] = $charge->getIban();
$holderData['descriptor'] = $charge->getDescriptor();
$holderData['holder'] = $charge->getHolder();
$holderData['bic'] = $charge->getBic();
$holderData['iban'] = $charge->getIban();
$holderData['descriptor'] = $charge->getDescriptor();
$holderData['holder'] = $charge->getHolder();
$isDataSet = true;
foreach ($holderData as $wert) {
if (empty($wert)) {
Expand All @@ -253,10 +254,10 @@ protected function addAuthorizationViewData(Authorization $authorization): void
$this->_aViewData["AuthId"] = $authorization->getId();
$this->_aViewData["AuthAmount"] = $authorization->getAmount();
$holderData = [];
$holderData['bic'] = $authorization->getBic();
$holderData['iban'] = $authorization->getIban();
$holderData['descriptor'] = $authorization->getDescriptor();
$holderData['holder'] = $authorization->getHolder();
$holderData['bic'] = $authorization->getBic();
$holderData['iban'] = $authorization->getIban();
$holderData['descriptor'] = $authorization->getDescriptor();
$holderData['holder'] = $authorization->getHolder();
$isDataSet = true;
foreach ($holderData as $wert) {
if (empty($wert)) {
Expand Down

0 comments on commit 28ee83f

Please sign in to comment.