mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
Remove usage of setParameters in various filters
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user