Remove typehint from DBEntity::getId to allow non-numeric primary keys

This commit is contained in:
Jill Stingray 2020-08-01 14:12:02 +00:00
parent 064b392671
commit f3106105b4

View file

@ -53,7 +53,7 @@ abstract class DBEntity
$this->changes[$column] = $value;
}
function getId(): int
function getId()
{
return $this->getRecord()->id;
}