Skip to content

Commit

Permalink
Don't forget to remove the comments, kids!
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Apr 1, 2024
1 parent 3bd2f3c commit 2a38282
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Shipment/Models/ShippingMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public static function availableOnesForZones(Zone|int ...$zones): Collection
->get();
}

/** @todo Add this to the ShippingMethod interface in v4 */
public function getCalculator(): ShippingFeeCalculator
{
if (null === $this->calculator) {
Expand All @@ -81,7 +80,6 @@ public function getCalculator(): ShippingFeeCalculator
return ShippingFeeCalculators::make($this->calculator);
}

/** @todo Add this to the ShippingMethod interface in v4 */
public function estimate(?object $subject = null): ShippingFee
{
return $this->getCalculator()->calculate($subject, $this->configuration());
Expand Down

0 comments on commit 2a38282

Please sign in to comment.