Skip to content

Commit

Permalink
chore: 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 12, 2023
1 parent 020f7ad commit 6281edc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Query/FrontFilterGambit.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,11 @@ public function getFilterKey(): string
return 'frontpage';
}

/**
* @param AbstractQueryState $search
* @param array $matches
* @param mixed $negate
*
* @return void
*/
public function conditions(AbstractQueryState $search, array $matches, $negate)

Check failure on line 38 in src/Query/FrontFilterGambit.php

View workflow job for this annotation

GitHub Actions / run / PHPStan PHP 7.3

Parameter #1 $search (Flarum\Query\AbstractQueryState) of method FoF\FrontPage\Query\FrontFilterGambit::conditions() is not compatible with parameter #1 $search (Flarum\Search\SearchState) of method Flarum\Search\AbstractRegexGambit::conditions().
{
$this->constrain($search->getQuery(), $negate);
}

/**
* @param FilterState $filterState
* @param string $filterValue
* @param bool $negate
*
* @return void
*/
public function filter(FilterState $filterState, string $filterValue, bool $negate)
{
$this->constrain($filterState->getQuery(), $negate);
Expand Down

0 comments on commit 6281edc

Please sign in to comment.