Skip to content

Commit

Permalink
feat: allow returning string on getCurrentEntryId()
Browse files Browse the repository at this point in the history
uuid/ulid are string based not int
  • Loading branch information
Chemaclass committed Jan 14, 2025
1 parent c0d1493 commit c50874e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Library/CrudPanel/Traits/Read.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait Read
/**
* Find and retrieve the id of the current entry.
*
* @return int|bool The id in the db or false.
* @return int|string|bool The id in the db or false.
*/
public function getCurrentEntryId()
{
Expand Down

0 comments on commit c50874e

Please sign in to comment.