Skip to content

Commit

Permalink
Change signature of makeTitle method
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Oct 3, 2023
1 parent 1dbcdc4 commit 7b54932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fieldtypes/BaseFieldtype.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ protected function getCreatables()
];
}

protected function makeTitle($record, $resource): string
protected function makeTitle($record, $resource): ?string
{
if (! $titleFormat = $this->config('title_format')) {
$firstListableColumn = $resource->titleField();
Expand Down

0 comments on commit 7b54932

Please sign in to comment.