Handle linter errors, add missing changes in TagFinder

This commit is contained in:
buchmann 2025-10-07 09:41:55 +02:00
parent 3a3ad1e147
commit adf95f6f84
3 changed files with 20 additions and 15 deletions

View file

@ -140,8 +140,8 @@ class SelectAPIController extends AbstractController
#[Route(path: '/tag', name: 'select_tag')]
public function getResponseForTags(EntityManagerInterface $entityManager): Response
{
$tf = new TagFinder($entityManager, ['min_keyword_length' => 2, 'query_limit' => 250]);
$list = $tf->listTags('__'); // return every tag with at least two characters!
$tf = new TagFinder($entityManager);
$list = $tf->listTags('__', ['min_keyword_length' => 2, 'query_limit' => 250]); // return every tag with at least two characters!
$entries = [];