diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2022-11-21 19:03:59 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2022-11-21 19:03:59 -0100 |
commit | 33080573fc555fd0b3410ef03e33191f2c65a9fa (patch) | |
tree | c2cf45d81811d584abc4d4c27d40565c9af318ce /lib/Db/RequestQueueRequest.php | |
parent | b32fa07f9ca0c486379c2a493aac850d503fc698 (diff) |
cs:fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db/RequestQueueRequest.php')
-rw-r--r-- | lib/Db/RequestQueueRequest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Db/RequestQueueRequest.php b/lib/Db/RequestQueueRequest.php index 119dd88d..9cb1f908 100644 --- a/lib/Db/RequestQueueRequest.php +++ b/lib/Db/RequestQueueRequest.php @@ -66,9 +66,9 @@ class RequestQueueRequest extends RequestQueueRequestBuilder { ->setValue('author', $qb->createNamedParameter($queue->getAuthor())) ->setValue('activity', $qb->createNamedParameter($queue->getActivity())) ->setValue( - 'instance', $qb->createNamedParameter( - json_encode($queue->getInstance(), JSON_UNESCAPED_SLASHES) - ) + 'instance', $qb->createNamedParameter( + json_encode($queue->getInstance(), JSON_UNESCAPED_SLASHES) + ) ) ->setValue('priority', $qb->createNamedParameter($queue->getPriority())) ->setValue('status', $qb->createNamedParameter($queue->getStatus())) @@ -133,8 +133,8 @@ class RequestQueueRequest extends RequestQueueRequestBuilder { $qb = $this->getRequestQueueUpdateSql(); $qb->set('status', $qb->createNamedParameter(RequestQueue::STATUS_RUNNING)) ->set( - 'last', - $qb->createNamedParameter(new DateTime('now'), IQueryBuilder::PARAM_DATE) + 'last', + $qb->createNamedParameter(new DateTime('now'), IQueryBuilder::PARAM_DATE) ); $this->limitToId($qb, $queue->getId()); $this->limitToStatus($qb, RequestQueue::STATUS_STANDBY); |