File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ private function getRecordsFromCache(): mixed
140
140
$ tag = $ prefix .($ customTag ?: 'powergrid- ' .$ this ->datasource ()->getModel ()->getTable ().'- ' .$ this ->tableName );
141
141
$ cacheKey = implode ('- ' , $ this ->getCacheKeys ());
142
142
143
+ /** @var array $results */
143
144
$ results = Cache::tags ($ tag )->remember ($ cacheKey , $ ttl , fn () => ProcessDataSource::make ($ this )->get ());
144
145
145
146
if ($ this ->measurePerformance ) {
@@ -152,7 +153,7 @@ private function getRecordsFromCache(): mixed
152
153
);
153
154
}
154
155
155
- return $ results ;
156
+ return $ results[ ' results ' ] ;
156
157
}
157
158
158
159
private function getRecordsDataSource (): Paginator |MorphToMany |\Illuminate \Contracts \Pagination \LengthAwarePaginator |LengthAwarePaginator |BaseCollection
You can’t perform that action at this time.
0 commit comments