From 2822f342eb5a5f5112c5cdad56f30b636ceaa44d Mon Sep 17 00:00:00 2001 From: mychidarko Date: Wed, 4 Dec 2024 02:06:50 +0000 Subject: [PATCH] fix: rename model get to table --- src/Auth/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/Model.php b/src/Auth/Model.php index f91efdf..bbaadc1 100644 --- a/src/Auth/Model.php +++ b/src/Auth/Model.php @@ -93,7 +93,7 @@ public function delete(): \Leaf\Db * * @return \Leaf\Db */ - public function get($columns = '*'): \Leaf\Db + public function table($columns = '*'): \Leaf\Db { return $this->db->select($this->table, $columns) ->where('user_id', $this->user->id());