Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored Sep 30, 2020
1 parent f30f86d commit 39bb776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModelSearchAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function getType(): string
return $model->getTable();
}

public function getResults(string $term, User $user = null): Collection
public function getResults(string $term): Collection
{
if (empty($this->attributes)) {
throw InvalidModelSearchAspect::noSearchableAttributes($this->model);
Expand Down

0 comments on commit 39bb776

Please sign in to comment.