summaryrefslogtreecommitdiff
path: root/src/Columns
diff options
context:
space:
mode:
Diffstat (limited to 'src/Columns')
-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