Skip to content

Commit

Permalink
fix: parameters of createOptionUsing method
Browse files Browse the repository at this point in the history
fix: parameters of createOptionUsing method
  • Loading branch information
lukas-frey authored May 11, 2024
2 parents a5531db + cded44f commit e2aa51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/IconPicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function getOptionLabelFromRecordUsing(?Closure $callback): static
throw new \BadMethodCallException('Method not allowed.');
}

public function createOptionUsing(Closure $callback): static
public function createOptionUsing(?Closure $callback): static
{
throw new \BadMethodCallException('Method not allowed.');
}
Expand Down

0 comments on commit e2aa51c

Please sign in to comment.