mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Access id property without getter.
Some implementations typehint getId to integer but default is null. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
21b80a89b0
commit
8a952b73d6
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ abstract class QBMapper {
|
|||
|
||||
$qb->execute();
|
||||
|
||||
if($entity->getId() === null) {
|
||||
if($entity->id === null) {
|
||||
$entity->setId((int)$qb->getLastInsertId());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue