Completed
Push — develop ( f5bc45...3ea57c )
by
unknown
49:10 queued 12:24
created
module/Core/src/Core/Repository/SnapshotRepository.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -188,12 +188,12 @@
 block discarded – undo
188 188
     public function findLatest($sourceId, $isDraft = false)
189 189
     {
190 190
         return $this->createQueryBuilder()
191
-          ->field('snapshotEntity')->equals(new \MongoId($sourceId))
192
-          ->field('snapshotMeta.isDraft')->equals($isDraft)
193
-          ->sort('snapshotMeta.dateCreated.date', 'desc')
194
-          ->limit(1)
195
-          ->getQuery()
196
-          ->getSingleResult();
191
+            ->field('snapshotEntity')->equals(new \MongoId($sourceId))
192
+            ->field('snapshotMeta.isDraft')->equals($isDraft)
193
+            ->sort('snapshotMeta.dateCreated.date', 'desc')
194
+            ->limit(1)
195
+            ->getQuery()
196
+            ->getSingleResult();
197 197
 
198 198
     }
199 199
 
Please login to merge, or discard this patch.