Do some code cleanup courtesy of Mago.

This commit is contained in:
James Cole
2026-01-13 05:13:01 +01:00
parent fe9ae9c810
commit 1d41fc9845
32 changed files with 80 additions and 80 deletions

View File

@@ -202,7 +202,7 @@ class QueryParser implements QueryParserInterface
return new NodeGroup($nodes, $prohibited);
}
private function createNode(string $token, string $fieldName, bool $prohibited): Node
private function createNode(#[\SensitiveParameter] string $token, string $fieldName, bool $prohibited): Node
{
if ('' !== $fieldName) {
// OK dus hoe trim je \" correct?