From c742a04e13989510d06d42550636a05a48b030da Mon Sep 17 00:00:00 2001 From: luanfreitasdev Date: Mon, 2 Oct 2023 10:46:49 -0300 Subject: [PATCH] fix phpstan --- src/ProcessDataSource.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ProcessDataSource.php b/src/ProcessDataSource.php index ddb93119..92118fb6 100644 --- a/src/ProcessDataSource.php +++ b/src/ProcessDataSource.php @@ -265,9 +265,7 @@ private function processBatch(BaseCollection $collection): BaseCollection $columns = collect($columns); /** @phpstan-ignore-next-line */ - $data = $columns->mapWithKeys( - fn ($column, $columnName) => (object) [$columnName => $column((object) $row)] - ); + $data = $columns->mapWithKeys(fn ($column, $columnName) => (object) [$columnName => $column((object) $row)]); $prepareRules = collect(); $actions = collect();