Skip to content

Commit

Permalink
Update Resource.php
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Mar 14, 2024
1 parent 9eaec20 commit 3a9088c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function modelUrl(Model $model): string
*/
public function modelTitle(Model $model): string
{
return $model->getKey();
return (string) $model->getKey();
}

/**
Expand Down

0 comments on commit 3a9088c

Please sign in to comment.