diff --git a/chandler/Database/DBEntity.php b/chandler/Database/DBEntity.php index b32420a..39461d5 100644 --- a/chandler/Database/DBEntity.php +++ b/chandler/Database/DBEntity.php @@ -53,7 +53,7 @@ abstract class DBEntity $this->changes[$column] = $value; } - function getId(): int + function getId() { return $this->getRecord()->id; }