protected function createShipments(CalculationOrder $calculation, Order $order, ?string $shippingProvider): void 	{ 		if ($shippingProvider) { 			for ($i = 0; $i < $calculation->getTotalNumberOfPackages(); $i++) { 				$order->shipments()->create(['delivery_service' => $shippingProvider]); 			} 		} 	}