Skip to content

Commit

Permalink
remove logger from MethodMetaData __construct, add image for paybybank
Browse files Browse the repository at this point in the history
  • Loading branch information
vegimcarkaxhija committed Aug 22, 2024
1 parent 03f7c60 commit ecea229
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Model/MethodMetaData.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(
Repository $assetRepository,
array $data = []
) {
parent::__construct($iconRenderer, $subtitleRenderer, $logger, $method, $systemConfigPayment, $data);
parent::__construct($iconRenderer, $subtitleRenderer, $method, $systemConfigPayment, $data);
$this->assetRepository = $assetRepository;
}
public function renderIcon(): string
Expand Down
5 changes: 3 additions & 2 deletions Plugin/MethodList.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ private function getSvgLogo(string $methodCode): string
"emandate" => "emandate.png",
"pospayment" => "pos.png",
"transfer" => "svg/sepa-credittransfer.svg",
"voucher" => "svg/vouchers.svg"
"voucher" => "svg/vouchers.svg",
"paybybank" => "paybybank.gif",
];

$name = "svg/{$method}.svg";

if(isset($mappings[$method])) {
$name = $mappings[$method];
}
Expand Down

0 comments on commit ecea229

Please sign in to comment.