From 76b7755f7b693a1d73dc62faf8475210c12c1d6f Mon Sep 17 00:00:00 2001 From: Tsvetoslav Nikolov <85567502+cvetty@users.noreply.github.com> Date: Mon, 1 Jul 2024 19:42:27 +0300 Subject: [PATCH] Update table.stub --- krait/stubs/table.stub | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/krait/stubs/table.stub b/krait/stubs/table.stub index 4b3e759..84e384a 100644 --- a/krait/stubs/table.stub +++ b/krait/stubs/table.stub @@ -2,7 +2,6 @@ namespace {{table_namespace}}; -use Illuminate\Database\Eloquent\Model; use MtrDesign\Krait\Tables\BaseTable; class {{table_classname}} extends BaseTable @@ -17,7 +16,7 @@ class {{table_classname}} extends BaseTable $this->column( name: 'my_first_column', label: 'My First Column', - process: fn(Model $resource) => 'This is the processed content!' + process: fn(mixed $resource) => 'This is the processed content!' ); }