diff options
Diffstat (limited to 'src/Columns')
-rw-r--r-- | src/Columns/Column.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Columns/Column.php b/src/Columns/Column.php index f0a65fe..3134ed7 100644 --- a/src/Columns/Column.php +++ b/src/Columns/Column.php @@ -132,13 +132,13 @@ class Column { protected function getContent(Model $row): string { - $content = $this->slotFn === null ? $this->defaultSlot($ow) : ($this->slotFn)($row, $this); + $content = $this->slotFn === null ? $this->defaultSlot($row) : ($this->slotFn)($row, $this); return $this->escape($content); } protected function getAttributes(Model $row): array { - return $this->tdAttributes !== null ? ($this->tdAttributes)($row) : []; + return $this->tdAttributes ? ($this->tdAttributes)($row) : []; } public function view(Model $row): HtmlString |