Skip to content

Commit 06c7446

Browse files
authored
Merge pull request #5746 from Chemaclass/feat/getCurrentEntryId-allow-string
Allow returning string on getCurrentEntryId()
2 parents 892464a + c50874e commit 06c7446

File tree

1 file changed

+1
-1
lines changed
  • src/app/Library/CrudPanel/Traits

1 file changed

+1
-1
lines changed

src/app/Library/CrudPanel/Traits/Read.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait Read
1515
/**
1616
* Find and retrieve the id of the current entry.
1717
*
18-
* @return int|bool The id in the db or false.
18+
* @return int|string|bool The id in the db or false.
1919
*/
2020
public function getCurrentEntryId()
2121
{

0 commit comments

Comments
 (0)