mirror of
https://github.com/openvk/chandler.git
synced 2024-11-15 03:31:12 +03:00
Remove typehint from DBEntity::getId to allow non-numeric primary keys
This commit is contained in:
parent
064b392671
commit
f3106105b4
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ abstract class DBEntity
|
||||||
$this->changes[$column] = $value;
|
$this->changes[$column] = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getId(): int
|
function getId()
|
||||||
{
|
{
|
||||||
return $this->getRecord()->id;
|
return $this->getRecord()->id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue