Skip to content

Commit

Permalink
Fix Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferry Ariawan committed Mar 4, 2021
1 parent a907a95 commit 0657de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function belongsTo(string $modelName, string $foreignKey = null, string $
/**
* @return \Crocodic\LaravelModel\Core\Builder
*/
public static function table(): \Crocodic\LaravelModel\Core\Builder
public static function table()
{
return app('db')->table(static::getTable());
}
Expand Down

0 comments on commit 0657de9

Please sign in to comment.