Skip to content

Commit 87c0333

Browse files
committed
🎨 Fix typo in method name
1 parent aa96d02 commit 87c0333

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

app/code/Magento/Multishipping/Block/Checkout/Overview.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,18 @@ public function getQuote()
319319
}
320320

321321
/**
322-
* @return mixed
322+
* @deprecated
323+
* typo in method name, see getBillingAddressTotals()
323324
*/
324325
public function getBillinAddressTotals()
326+
{
327+
return $this->getBillingAddressTotals();
328+
}
329+
330+
/**
331+
* @return mixed
332+
*/
333+
public function getBillingAddressTotals()
325334
{
326335
$address = $this->getQuote()->getBillingAddress();
327336
return $this->getShippingAddressTotals($address);

app/code/Magento/Multishipping/view/frontend/templates/checkout/overview.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
<?php endforeach; ?>
187187
</tbody>
188188
<tfoot>
189-
<?= /* @noEscape */ $block->renderTotals($block->getBillinAddressTotals()); ?>
189+
<?= /* @noEscape */ $block->renderTotals($block->getBillingAddressTotals()); ?>
190190
</tfoot>
191191
</table>
192192
</div>

0 commit comments

Comments
 (0)