Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Jul 4, 2024
1 parent c0d2be2 commit d9ff65d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ProcessDataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ protected function resolveCollection(array|BaseCollection|EloquentBuilder|QueryB
return new BaseCollection($this->component->datasource());
}

//@phpstan-ignore-next-line
return cache()->rememberForever($this->component->getId(), function () use ($datasource) {
if (is_array($datasource)) {
return new BaseCollection($datasource);
Expand Down

0 comments on commit d9ff65d

Please sign in to comment.