Skip to content

Commit

Permalink
Merge pull request #2758 from gander/patch-1
Browse files Browse the repository at this point in the history
fix: CheckoutManager::getNextStep return type
  • Loading branch information
dpfaffenbauer authored Nov 29, 2024
2 parents e94b102 + 14b7506 commit f359324
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 f359324

Please sign in to comment.