From 2a38282f70e1fcb59a2c7642e75424a32e7dec86 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Mon, 1 Apr 2024 10:26:07 +0300 Subject: [PATCH] Don't forget to remove the comments, kids! --- src/Shipment/Models/ShippingMethod.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Shipment/Models/ShippingMethod.php b/src/Shipment/Models/ShippingMethod.php index 1999edf5..299820c4 100644 --- a/src/Shipment/Models/ShippingMethod.php +++ b/src/Shipment/Models/ShippingMethod.php @@ -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) { @@ -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());