Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Forwardport] Fix method name (typo) #15745

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions app/code/Magento/Multishipping/Block/Checkout/Overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,19 @@ public function getQuote()
}

/**
* @deprecated
* typo in method name, see getBillingAddressTotals()
* @return mixed
*/
public function getBillinAddressTotals()
{
return $this->getBillingAddressTotals();
}

/**
* @return mixed
*/
public function getBillingAddressTotals()
{
$address = $this->getQuote()->getBillingAddress();
return $this->getShippingAddressTotals($address);
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Multishipping/Block/Checkout/Shipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Magento\Quote\Model\Quote\Address;

/**
* Multishipping checkout shipping
* Mustishipping checkout shipping
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<?php endforeach; ?>
</tbody>
<tfoot>
<?= /* @noEscape */ $block->renderTotals($block->getBillinAddressTotals()); ?>
<?= /* @noEscape */ $block->renderTotals($block->getBillingAddressTotals()); ?>
</tfoot>
</table>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getAdminPasswordLifetime()
}

/**
* Get admin maximum security failures from config
* Get admin maxiumum security failures from config
*
* @return int
*/
Expand Down