From 2272fe1172cfe8d1ffa444fd81938e4d8c4df54f Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Tue, 12 Mar 2024 01:41:52 +0300 Subject: [PATCH] remove columns aliases --- com_oauthserver/administrator/src/Table/AuthCodeTable.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/com_oauthserver/administrator/src/Table/AuthCodeTable.php b/com_oauthserver/administrator/src/Table/AuthCodeTable.php index c0170a8..d37eab9 100644 --- a/com_oauthserver/administrator/src/Table/AuthCodeTable.php +++ b/com_oauthserver/administrator/src/Table/AuthCodeTable.php @@ -18,9 +18,9 @@ use Joomla\Database\DatabaseDriver; * @property int $id * @property string $identifier * @property \DateTimeInterface|string $expiry - * @property int|null $userId + * @property int|null $user_id * @property string|array $scopes - * @property int $clientId + * @property int $client_id * @property bool|int $revoked * * @since version @@ -48,8 +48,5 @@ class AuthCodeTable extends Table implements RevokedTableInterface public function __construct(DatabaseDriver $db) { parent::__construct('#__webmasterskaya_oauthserver_authorization_codes', 'id', $db); - - $this->setColumnAlias('client_id', 'clientId'); - $this->setColumnAlias('user_id', 'userId'); } }