From b50158d29526e7403c4ef7d46febd2d210b135a0 Mon Sep 17 00:00:00 2001 From: Daniel Ang Date: Sun, 13 Mar 2022 00:29:56 +0100 Subject: [PATCH] Fix model name on datasource docblock --- resources/stubs/table.fillable.stub | 2 +- resources/stubs/table.model.stub | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/stubs/table.fillable.stub b/resources/stubs/table.fillable.stub index 83ae916e..ec4a23b0 100644 --- a/resources/stubs/table.fillable.stub +++ b/resources/stubs/table.fillable.stub @@ -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 { diff --git a/resources/stubs/table.model.stub b/resources/stubs/table.model.stub index 946df5af..0b751be0 100644 --- a/resources/stubs/table.model.stub +++ b/resources/stubs/table.model.stub @@ -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 {