diff --git a/Db.php b/Db.php index 4084817..8144c15 100644 --- a/Db.php +++ b/Db.php @@ -124,7 +124,7 @@ class Db implements ISqlBuilder */ public static function table($table): Db|static { - $connection = new Db(); + $connection = new Db(); $connection->connection = current(\config('databases.connections')); $connection->from($table); return $connection;