From 9d3a95d28c990c9471a23dd05081a7b4912f5e47 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 9 Oct 2024 14:40:06 -0500 Subject: [PATCH] Update FormBuilder.php --- src/FormBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FormBuilder.php b/src/FormBuilder.php index 4638293..03056a4 100644 --- a/src/FormBuilder.php +++ b/src/FormBuilder.php @@ -35,7 +35,7 @@ public function add(Closure $step, ?string $name = null, bool $ignoreWhenReverti /** * Add a new conditional step. */ - public function addIf(bool|Closure $condition, Closure $step, ?string $name = null, bool $ignoreWhenReverting = false): self + public function addIf(Closure|bool $condition, Closure $step, ?string $name = null, bool $ignoreWhenReverting = false): self { $this->steps[] = new FormStep($step, $condition, $name, $ignoreWhenReverting);