Passed
Push — main ( dc275a...8e4fcf )
by Slawomir
04:22
created
Posts/Persistence/Doctrine/Repository/DoctrinePostsFindingRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                     p.id, p.title, p.body, p.summary, p.tags, p.createdById, p.createdByName, p.createdAt, p.updatedAt, p.version
87 87
              ) from $postClass p where p.deletedAt is null";
88 88
         if ($from != null) {
89
-            $dql = $dql . " and p.createdAt >= :from";
89
+            $dql = $dql." and p.createdAt >= :from";
90 90
         }
91 91
         $query = $this->getEntityManager()->createQuery(
92 92
             $dql
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $postClass = Post::class;
107 107
         $dql = "select p.id as postId from $postClass p where p.deletedAt is not null";
108 108
         if ($from != null) {
109
-            $dql = $dql . " and p.deletedAt >= :from";
109
+            $dql = $dql." and p.deletedAt >= :from";
110 110
         }
111 111
         $query = $this->getEntityManager()->createQuery(
112 112
             $dql
Please login to merge, or discard this patch.