From 8ed690e4a5d3eb3fc138b532c2e1008ceba033d3 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 3 Apr 2024 14:10:13 +0700 Subject: [PATCH 1/2] chore: remove useless @return BaseConnection|ConnectionInterface on BaseBuilder::db() --- system/Database/BaseBuilder.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index 8a33e220d84d..2e32bc68790f 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -332,8 +332,6 @@ public function __construct($tableName, ConnectionInterface $db, ?array $options /** * Returns the current database connection - * - * @return BaseConnection|ConnectionInterface */ public function db(): ConnectionInterface { From a2802a693498fe3d08570ddfd42df2f726ee74f0 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 3 Apr 2024 15:56:07 +0700 Subject: [PATCH 2/2] update to @return BaseConnection --- system/Database/BaseBuilder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index 2e32bc68790f..65dea86da2b3 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -332,6 +332,8 @@ public function __construct($tableName, ConnectionInterface $db, ?array $options /** * Returns the current database connection + * + * @return BaseConnection */ public function db(): ConnectionInterface {