Skip to content

Commit

Permalink
fix: phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Oct 18, 2023
1 parent dc54747 commit 55e24e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/core/src/Extend/SearchDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace Flarum\Extend;

use Flarum\Database\AbstractModel;
use Flarum\Extension\Extension;
use Flarum\Search\AbstractDriver;
use Flarum\Search\AbstractFulltextFilter;
Expand Down Expand Up @@ -37,7 +38,7 @@ public function __construct(
/**
* Add a filter to this searcher. Filters are used to filter search queries.
*
* @param class-string<FilterInterface> $modelClass : The class of the model subject to searching/filtering.
* @param class-string<AbstractModel> $modelClass : The class of the model subject to searching/filtering.
* This model must extend \Flarum\Database\AbstractModel.
* @param class-string<AbstractSearcher> $searcherClass : The class of the Searcher for this model
* This searcher must implement \Flarum\Search\SearcherInterface.
Expand Down

0 comments on commit 55e24e5

Please sign in to comment.