Skip to content

Commit

Permalink
Update FormBuilder.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Oct 9, 2024
1 parent 375da72 commit 9d3a95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FormBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9d3a95d

Please sign in to comment.