diff --git a/src/Context/ShippingGatewayContext.php b/src/Context/ShippingGatewayContext.php index b09db7c..1e7a0d7 100644 --- a/src/Context/ShippingGatewayContext.php +++ b/src/Context/ShippingGatewayContext.php @@ -108,13 +108,13 @@ public function getLabelByCode(?string $code): ?string } /** - * @param int|null $id + * @param int $id * - * @return ShippingGatewayInterface|null + * @return ShippingGatewayInterface * * @throws ShippingGatewayNotFoundException */ - private function getExistingShippingGateway(?int $id): ?ShippingGatewayInterface + private function getExistingShippingGateway(int $id): ShippingGatewayInterface { /** @var ShippingGatewayInterface|null $shippingGateway */ $shippingGateway = $this->shippingGatewayRepository->find($id);