From 7f4b702043b683f89dbc3a9680709a059eb864be Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 2 Dec 2022 14:41:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Http/Livewire/LivewireDatatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Livewire/LivewireDatatable.php b/src/Http/Livewire/LivewireDatatable.php index 8b4a9eaa..35922a85 100644 --- a/src/Http/Livewire/LivewireDatatable.php +++ b/src/Http/Livewire/LivewireDatatable.php @@ -395,7 +395,7 @@ protected function resolveColumnName($column, $additional = null) $aggregate = Str::after(($additional ?: $column->name), ':'); if (! method_exists($this->query->getModel(), $relations[0])) { - return ($additional ?: $column->name); + return $additional ?: $column->name; } $columnName = array_pop($relations);