Remove usage of setParameters in various filters

This commit is contained in:
2023-10-16 14:28:04 +02:00
parent efcb903d10
commit 304bf4258b
12 changed files with 60 additions and 43 deletions

View File

@@ -51,9 +51,10 @@ class ByUserJobFilter implements FilterInterface
. "AND {$p}_history.job IN ( :{$p}_jobs )"
)
)
->setParameters([
"{$p}_jobs" => $data["jobs"],
]);
->setParameter(
"{$p}_jobs",
$data["jobs"],
);
}
public function applyOn(): string

View File

@@ -53,9 +53,10 @@ class ByUserScopeFilter implements FilterInterface
. "AND {$p}_history.scope IN ( :{$p}_scopes )"
)
)
->setParameters([
"{$p}_scopes" => $data["scopes"],
]);
->setParameter(
"{$p}_scopes",
$data["scopes"],
);
}
public function applyOn(): string