Skip to content

Commit

Permalink
Merge pull request #324 from dansysanalyst/fix-stub-datasource-docblock
Browse files Browse the repository at this point in the history
Fix Model name on datasource doc block
  • Loading branch information
luanfreitasdev authored Mar 14, 2022
2 parents 5cba979 + b50158d commit c6a578f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/stubs/table.fillable.stub
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ final class {{ componentName }} extends PowerGridComponent
/**
* PowerGrid datasource.
*
* @return \Illuminate\Database\Eloquent\Builder<\App\Models\User>|null
* @return \Illuminate\Database\Eloquent\Builder<\{{ modelName }}>|null
*/
public function datasource(): ?Builder
{
Expand Down
2 changes: 1 addition & 1 deletion resources/stubs/table.model.stub
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ final class {{ componentName }} extends PowerGridComponent
/**
* PowerGrid datasource.
*
* @return \Illuminate\Database\Eloquent\Builder<\App\Models\User>|null
* @return \Illuminate\Database\Eloquent\Builder<\{{ modelName }}>|null
*/
public function datasource(): ?Builder
{
Expand Down

0 comments on commit c6a578f

Please sign in to comment.