From 85d07abebe532a9e0fb00c68e91fbe312b55846e Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Wed, 2 Oct 2019 13:57:29 -0100 Subject: [PATCH] cleaning Signed-off-by: Maxence Lange --- lib/Db/StreamRequest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Db/StreamRequest.php b/lib/Db/StreamRequest.php index 96b66513..a4d1ab0f 100644 --- a/lib/Db/StreamRequest.php +++ b/lib/Db/StreamRequest.php @@ -156,9 +156,7 @@ class StreamRequest extends StreamRequestBuilder { $new = $this->updateAttachmentInList($document, $this->getArray('attachments', $data, [])); $qb = $this->getStreamUpdateSql(); - $qb->set( - 'attachments', $qb->createNamedParameter(json_encode($new, JSON_UNESCAPED_SLASHES)) - ); + $qb->set('attachments', $qb->createNamedParameter(json_encode($new, JSON_UNESCAPED_SLASHES))); $qb->limitToIdPrim($qb->prim($document->getParentId())); $qb->execute();