Skip to content

Commit 955a7b5

Browse files
authored
Merge pull request #96 from yajra/get-model-generics
fix: getModel generic docs
2 parents c55830b + c3d4c51 commit 955a7b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DataTablesEditor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ public function attributes(): array
178178

179179
/**
180180
* Get dataTables model.
181+
*
182+
* @return class-string<TModel>|TModel|null
181183
*/
182184
public function getModel(): Model|string|null
183185
{

0 commit comments

Comments
 (0)