mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
Fix FullTextGambit interface compatibility
This commit is contained in:
parent
ac4edef78c
commit
c9d9e85780
@ -10,8 +10,8 @@ namespace Flarum\Nicknames;
|
||||
* LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Flarum\Search\AbstractSearch;
|
||||
use Flarum\Search\GambitInterface;
|
||||
use Flarum\Search\SearchState;
|
||||
use Flarum\User\UserRepository;
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ class NicknameFullTextGambit implements GambitInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function apply(AbstractSearch $search, $searchValue)
|
||||
public function apply(SearchState $search, $searchValue)
|
||||
{
|
||||
$search->getQuery()
|
||||
->whereIn(
|
||||
|
Loading…
x
Reference in New Issue
Block a user