We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bed113 commit 6b404dfCopy full SHA for 6b404df
src/AbstractWizard.php
@@ -507,7 +507,7 @@ private function isLastStep(): bool
507
return $this->currentStep + 1 === \count($this->availableSteps());
508
}
509
510
- private function firstIncompleteStep(): WizardStep
+ private function firstIncompleteStep(): ?WizardStep
511
{
512
return collect($this->availableSteps())->first(fn (WizardStep $step) => !$step->isComplete(), $this->steps[count($this->steps) - 1]);
513
0 commit comments