Skip to content

Commit

Permalink
Fix PHP Stan and Mess
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianTuriacArnia committed Oct 5, 2023
1 parent c82b1fb commit 507984c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/Adminhtml/PayLink/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function execute(): ResultInterface
try {
$commandExecutor = $this->commandManagerPool->get('buckaroo');

$result = $commandExecutor->executeByCode(
$commandExecutor->executeByCode(
'paylink',
$payment,
[
Expand Down
2 changes: 1 addition & 1 deletion Observer/SalesOrderShipmentAfter.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private function createInvoice(bool $allowPartialsWithDiscount = false)
$invoice = $this->invoiceService->prepareInvoice($this->order);
$message = 'Automatically invoiced full order (can not invoice partials with discount)';
} else {
$qtys = $this->getQtys($this->shipment);
$qtys = $this->getQtys();
$invoice = $this->invoiceService->prepareInvoice($this->order, $qtys);
$message = 'Automatically invoiced shipped items.';
}
Expand Down

0 comments on commit 507984c

Please sign in to comment.