Fix syntax error

This commit is contained in:
2023-09-27 16:48:27 +02:00
parent e4cf07c7b3
commit 4460db1dc4
6 changed files with 12 additions and 12 deletions

View File

@@ -60,8 +60,8 @@ class JobFilter implements FilterInterface
"{$p}_history.startDate <= :{$p}_at AND ({$p}_history.endDate IS NULL OR {$p}_history.endDate > :{$p}_at)"
)
->setParameters([
["{$p}_job", $data["job"]],
["{$p}_at", $this->rollingDateConverter->convert($data["job_at"])]
"{$p}_job" => $data["job"],
"{$p}_at" => $this->rollingDateConverter->convert($data["job_at"])
])
;

View File

@@ -57,8 +57,8 @@ class ScopeFilter implements FilterInterface
"{$p}_history.startDate <= :{$p}_at AND ({$p}_history.endDate IS NULL OR {$p}_history.endDate > :{$p}_at)"
)
->setParameters([
["{$p}_scope", $data["scope"]],
["{$p}_at", $this->rollingDateConverter->convert($data['scope_at'])]
"{$p}_scope" => $data["scope"],
"{$p}_at" => $this->rollingDateConverter->convert($data['scope_at'])
]);
}