Skip to content

Commit

Permalink
fix: CheckoutManager::getNextStep return type
Browse files Browse the repository at this point in the history
`CoreShop\Component\Order\Checkout\CheckoutManager::getNextStep(): Return value must be of type CoreShop\Component\Order\Checkout\CheckoutStepInterface, null returned`
  • Loading branch information
gander authored Nov 29, 2024
1 parent e94b102 commit 14b7506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoreShop/Component/Order/Checkout/CheckoutManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getStep(string $identifier): CheckoutStepInterface
return $step;
}

public function getNextStep(string $identifier): CheckoutStepInterface
public function getNextStep(string $identifier): ?CheckoutStepInterface
{
return $this->serviceRegistry->getNextTo($identifier);
}
Expand Down

0 comments on commit 14b7506

Please sign in to comment.