Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 4, 2021
1 parent a9d4f4b commit 1ebcd0d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function get()
}

/**
* Get a lazy collection of the search.
* Get the results of the search as a "lazy collection" instance.
*
* @return \Illuminate\Support\LazyCollection
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Engines/AlgoliaEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function map(Builder $builder, $results, $model)
}

/**
* Lazy-Map the given results to instances of the given model.
* Map the given results to instances of the given model via a lazy collection.
*
* @param \Laravel\Scout\Builder $builder
* @param mixed $results
Expand Down
2 changes: 1 addition & 1 deletion src/Engines/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ abstract public function mapIds($results);
abstract public function map(Builder $builder, $results, $model);

/**
* Lazy-Map the given results to instances of the given model.
* Map the given results to instances of the given model via a lazy collection.
*
* @param \Laravel\Scout\Builder $builder
* @param mixed $results
Expand Down
4 changes: 2 additions & 2 deletions src/Engines/NullEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ public function map(Builder $builder, $results, $model)
}

/**
* Map the given results to instances of the given model.
* Map the given results to instances of the given model via a lazy collection.
*
* @param \Laravel\Scout\Builder $builder
* @param mixed $results
* @param \Illuminate\Database\Eloquent\Model $model
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Support\LazyCollection
*/
public function lazyMap(Builder $builder, $results, $model)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Searchable.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function getScoutModelsByIds(Builder $builder, array $ids)
}

/**
* Get the requested models from an array of object IDs.
* Get a query builder for retrieving the requested models from an array of object IDs.
*
* @param \Laravel\Scout\Builder $builder
* @param array $ids
Expand Down

0 comments on commit 1ebcd0d

Please sign in to comment.