File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,7 @@ public function dataTable($query) : Yajra\DataTables\DataTableAbstract
106106
* values are always given in an array even if just one is selected
107107
*/
108108
function (\Illuminate\Database\Eloquent\Builder $query, array $values) {
109-
return $query
110-
->whereIn(
111-
'id',
112-
$values);
109+
return $query->whereIn('id', $values);
113110
}
114111
);
115112
}

0 commit comments

Comments
 (0)