diff options
author | Sam Light <samlight1994@gmail.com> | 2025-08-26 21:35:36 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-08-26 21:35:36 +0100 |
commit | 964619269747ded1dfed70e78c990e51e1b40961 (patch) | |
tree | dd1f6c5de75f57bac5ed8d4820f2aa5e04efbcc1 /src | |
parent | 73d0a5d5b7076b5f30083f13927470c0728b43f5 (diff) |
Update ElementColumn to not use call to getElemAttributes
Diffstat (limited to 'src')
-rw-r--r-- | src/Columns/ElementColumn.php | 2 |
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 |