Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Minor fix

Compare
Choose a tag to compare
@ErickTamayo ErickTamayo released this 02 Jul 15:09
· 18 commits to master since this release
chain `values` method in `map` function (#66)

In 
```php
    collect($results['hits']['hits'])->map(function ($hit) use ($model, $models) {
            return isset($models[$hit['_id']]) ? $models[$hit['_id']] : null;
        })->filter();
```
would generate some holds which would cause `paginate` results objects rather than list.