Fix all errors.

This commit is contained in:
James Cole
2026-03-04 06:38:33 +01:00
parent 7d67fe52f9
commit 41ed650336
11 changed files with 157 additions and 375 deletions
@@ -26,6 +26,7 @@ namespace FireflyIII\Support\Search\QueryParser;
use SensitiveParameter;
use function Safe\preg_split;
/**
* Single-pass parser that processes query strings into structured nodes.
@@ -144,7 +145,7 @@ class QueryParser implements QueryParserInterface
$tokenUnderConstruction .= $char;
$skipNext = true;
}
if ('' !== $tokenUnderConstruction && !$skipNext) { // @phpstan-ignore-line
if ('' !== $tokenUnderConstruction && !$skipNext) {
// Log::debug(sprintf('Turns out that "%s" is a field name. Reset the token.', $tokenUnderConstruction));
// If we meet a colon with a left-hand side string, we know we're in a field and are about to set up the value
$fieldName = $tokenUnderConstruction;