Skip to content

Commit 2822f34

Browse files
committed
fix: rename model get to table
1 parent f39ad93 commit 2822f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/Model.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function delete(): \Leaf\Db
9393
*
9494
* @return \Leaf\Db
9595
*/
96-
public function get($columns = '*'): \Leaf\Db
96+
public function table($columns = '*'): \Leaf\Db
9797
{
9898
return $this->db->select($this->table, $columns)
9999
->where('user_id', $this->user->id());

0 commit comments

Comments
 (0)