summaryrefslogtreecommitdiff
path: root/src/Toolbar/Item.php
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-04-26 13:05:25 +0100
committerSam Light <samlight1994@gmail.com>2025-04-26 13:05:25 +0100
commit6d26688fded015141a45a88b90b2d70a0ac88420 (patch)
tree33324531f6e9595c7eb190b89bcdb5a7b55d1b5f /src/Toolbar/Item.php
parent88f71aeba1a1649661d713297d3a75454636b2d1 (diff)
Larastanning
Diffstat (limited to 'src/Toolbar/Item.php')
-rw-r--r--src/Toolbar/Item.php4
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();