diff options
Diffstat (limited to 'src/Toolbar/Item.php')
-rw-r--r-- | src/Toolbar/Item.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Toolbar/Item.php b/src/Toolbar/Item.php index e91698f..e161fb9 100644 --- a/src/Toolbar/Item.php +++ b/src/Toolbar/Item.php @@ -8,6 +8,7 @@ use Lightscale\LaralightTables\Concerns\Makable; use Illuminate\View\View; use Illuminate\Support\HtmlString; +use Illuminate\Database\Eloquent\Model; abstract class Item { @@ -25,6 +26,9 @@ abstract class Item return $this->toolbar; } + /** + * @return TableComponent<Model> + */ public function getTable(): TableComponent { return $this->getToolbar()->getTable(); |