Skip to content

Commit

Permalink
Update table.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
cvetty authored Jul 1, 2024
1 parent 138daf1 commit 76b7755
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions krait/stubs/table.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace {{table_namespace}};

use Illuminate\Database\Eloquent\Model;
use MtrDesign\Krait\Tables\BaseTable;

class {{table_classname}} extends BaseTable
Expand All @@ -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!'
);
}

Expand Down

0 comments on commit 76b7755

Please sign in to comment.