Skip to content

Commit a69df55

Browse files
committed
chore: update stub with generics
1 parent 5f50500 commit a69df55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Generators/stubs/editor.stub

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ use Illuminate\Database\Eloquent\Model;
99
use Illuminate\Validation\Rule;
1010
use Yajra\DataTables\DataTablesEditor;
1111

12+
/**
13+
* @extends DataTablesEditor<ModelName>
14+
*/
1215
class DummyClass extends DataTablesEditor
1316
{
1417
protected $model = ModelName::class;

0 commit comments

Comments
 (0)