Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel Scout #3103

Draft
wants to merge 2 commits into
base: 5.x
Choose a base branch
from
Draft

Laravel Scout #3103

wants to merge 2 commits into from

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Aug 16, 2024

Checklist

  • Add tests and ensure they pass
  • Add an entry to the CHANGELOG.md file
  • Update documentation for new features

*/
protected function performSearch(Builder $builder, array $options = [])
{
$algolia = $this->algolia->initIndex(

Check failure

Code scanning / PHPStan

Access to an undefined property MongoDB\Laravel\Scout\AtlasSearchEngine::$algolia. Error

Access to an undefined property MongoDB\Laravel\Scout\AtlasSearchEngine::$algolia.
$collection = $this->mongodb->getCollection($models->first()->indexableAs());

if ($this->usesSoftDelete($models->first()) && $this->softDelete) {
$models->each->pushSoftDeleteMetadata();

Check failure

Code scanning / PHPStan

Call to an undefined method Illuminate\Support\HigherOrderCollectionProxy<(int|string), Illuminate\Database\Eloquent\Model>::pushSoftDeleteMetadata(). Error

Call to an undefined method Illuminate\Support\HigherOrderCollectionProxy<(int|string), Illuminate\Database\Eloquent\Model>::pushSoftDeleteMetadata().
@alcaeus alcaeus changed the base branch from 4.8 to 5.x September 12, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant