Skip to content

Commit 6b404df

Browse files
committed
Fix PHP Stan failure
1 parent 1bed113 commit 6b404df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractWizard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ private function isLastStep(): bool
507507
return $this->currentStep + 1 === \count($this->availableSteps());
508508
}
509509

510-
private function firstIncompleteStep(): WizardStep
510+
private function firstIncompleteStep(): ?WizardStep
511511
{
512512
return collect($this->availableSteps())->first(fn (WizardStep $step) => !$step->isComplete(), $this->steps[count($this->steps) - 1]);
513513
}

0 commit comments

Comments
 (0)