Skip to content

Commit

Permalink
Merge pull request #5746 from Chemaclass/feat/getCurrentEntryId-allow…
Browse files Browse the repository at this point in the history
…-string

Allow returning string on getCurrentEntryId()
  • Loading branch information
pxpm authored Jan 22, 2025
2 parents 892464a + c50874e commit 06c7446
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 06c7446

Please sign in to comment.