summaryrefslogtreecommitdiff
path: root/src/Columns/ElementColumn.php
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-08-26 21:35:36 +0100
committerSam Light <samlight1994@gmail.com>2025-08-26 21:35:36 +0100
commit964619269747ded1dfed70e78c990e51e1b40961 (patch)
treedd1f6c5de75f57bac5ed8d4820f2aa5e04efbcc1 /src/Columns/ElementColumn.php
parent73d0a5d5b7076b5f30083f13927470c0728b43f5 (diff)
Update ElementColumn to not use call to getElemAttributes
Diffstat (limited to 'src/Columns/ElementColumn.php')
-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 0e78545..aaac071 100644
--- a/src/Columns/ElementColumn.php
+++ b/src/Columns/ElementColumn.php
@@ -29,7 +29,7 @@ abstract class ElementColumn extends Column
*/
protected function getElemAttributes(Model $row): array
{
- return $this->elemAttributesFn?->call($this, $row) ?? [];
+ return $this->elemAttributesFn ? ($this->elemAttributesFn)($row) : [];
}
protected function getContent(Model $row): string