Skip to content

Commit

Permalink
fix: rename model get to table
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Dec 4, 2024
1 parent f39ad93 commit 2822f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 2822f34

Please sign in to comment.