Skip to content

Commit

Permalink
Un-deprecated the getShipToName method. It still seems to make sense …
Browse files Browse the repository at this point in the history
…to me
  • Loading branch information
fulopattila122 committed Mar 30, 2024
1 parent 40ee383 commit fedad44
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Checkout/Drivers/BaseCheckoutStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,7 @@ abstract public function getTaxesAmount(): DetailedAmount;

abstract public function setTaxesAmount(float|DetailedAmount $amount): void;

/**
* @deprecated
* @todo remove in v4
*/
protected function getShipToName(Billpayer $billpayer)
protected function getShipToName(Billpayer $billpayer): string
{
if ($billpayer->isOrganization()) {
return sprintf(
Expand Down

0 comments on commit fedad44

Please sign in to comment.