Skip to content

Commit

Permalink
fix: relationship signature
Browse files Browse the repository at this point in the history
fix: relationship signature
  • Loading branch information
lukas-frey authored Dec 21, 2023
2 parents 2953a4e + 4ed970c commit 3c97ef5
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 @@ -162,7 +162,7 @@ public function getSearchResults(string $search): array
return $results;
}

public function relationship(string|Closure|null $name, string|Closure|null $titleAttribute = null, ?Closure $modifyQueryUsing = null): static
public function relationship(string|Closure|null $name = null, string|Closure|null $titleAttribute = null, ?Closure $modifyQueryUsing = null): static
{
throw new \BadMethodCallException('Method not allowed.');
}
Expand Down

0 comments on commit 3c97ef5

Please sign in to comment.