Skip to content

Commit

Permalink
Camelcase variable
Browse files Browse the repository at this point in the history
  • Loading branch information
renekorss committed Feb 26, 2019
1 parent 9f0340f commit a18939c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Protocol/IPizza.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,13 +364,13 @@ protected function handlePaymentResponse(array $responseData, bool $success) : R

if (PaymentResponse::STATUS_SUCCESS === $status) {
// IPizza 2015 fallback: SEB has VK_ACC, others VK_REC_ACC
$rec_acc = $responseData[static::FIELD_REC_ACC] ?? $responseData[static::FIELD_ACC];
$receiverAccount = $responseData[static::FIELD_REC_ACC] ?? $responseData[static::FIELD_ACC];

$response
->setSum($responseData[static::FIELD_AMOUNT])
->setCurrency($responseData[static::FIELD_CURR])
->setSender($responseData[static::FIELD_SND_NAME], $responseData[static::FIELD_SND_ACC])
->setReceiver($responseData[static::FIELD_REC_NAME], $rec_acc)
->setReceiver($responseData[static::FIELD_REC_NAME], $receiverAccount)
->setTransactionId($responseData[static::FIELD_T_NO])
->setTransactionDate($responseData[static::FIELD_T_DATETIME]);
}
Expand Down

0 comments on commit a18939c

Please sign in to comment.