From 21d542f9538d10f966720866f830b27c342e889f Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 18 Apr 2019 08:44:04 +0200 Subject: [PATCH] Use the proper names when setting entity types Else this does :boom: Signed-off-by: Roeland Jago Douma --- apps/oauth2/lib/Db/AccessToken.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/oauth2/lib/Db/AccessToken.php b/apps/oauth2/lib/Db/AccessToken.php index 8266a9a006..24ff7ac827 100644 --- a/apps/oauth2/lib/Db/AccessToken.php +++ b/apps/oauth2/lib/Db/AccessToken.php @@ -45,9 +45,9 @@ class AccessToken extends Entity { public function __construct() { $this->addType('id', 'int'); - $this->addType('token_id', 'int'); - $this->addType('client_id', 'int'); - $this->addType('hashed_code', 'string'); - $this->addType('encrypted_token', 'string'); + $this->addType('tokenId', 'int'); + $this->addType('clientId', 'int'); + $this->addType('hashedCode', 'string'); + $this->addType('encryptedToken', 'string'); } }