<?php

namespace Tests;

use Mtc\MercuryDataModels\Filters\SearchTermFilter;

/**
 * Search term filter with the matching taken out.
 *
 * The real filter matches against a MySQL fulltext index, which the SQLite test database has no
 * equivalent for. Tests that only care about how a term is handled, rather than what it matches,
 * can swap this in via config('filter.filters.search').
 */
class StubSearchTermFilter extends SearchTermFilter
{
    #[\Override]
    public function applyFilter($query, array $selection = [])
    {
        //
    }
}
