summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-04-02 21:42:59 +0100
committerSam Light <samlight1994@gmail.com>2025-04-02 21:42:59 +0100
commit37ebb84d9f5ab8c888283b04f4a6a916a8b51d6a (patch)
tree9d95b0400f85d0dfc96e9a5e263ab36d7c8810cb
parent4017517b21c99d3a9a0a9980142799908f9f22e7 (diff)
Fix bug with element column
-rw-r--r--src/Columns/ElementColumn.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Columns/ElementColumn.php b/src/Columns/ElementColumn.php
index 5ad7c7c..71f0750 100644
--- a/src/Columns/ElementColumn.php
+++ b/src/Columns/ElementColumn.php
@@ -25,7 +25,7 @@ abstract class ElementColumn extends Column
return $this->elemAttributesFn?->call($this, $row) ?? [];
}
- protected function getContent(Model $row)
+ protected function getContent(Model $row): string
{
$content = parent::getContent($row);
$attributes = new ComponentAttributeBag($this->getElemAttributes($row));