Completed
Push — develop ( 959dbb...96e586 )
by
unknown
07:26
created
module/Jobs/src/Jobs/Repository/Job.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     /**
92 92
      * Look for an drafted Document of a given user
93 93
      *
94
-     * @param $user
94
+     * @param \Auth\Entity\AnonymousUser $user
95 95
      * @return \Jobs\Entity\Job|null
96 96
      */
97 97
     public function findDraft($user)
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
     {
56 56
         $qb = $this->createQueryBuilder();
57 57
         $qb->hydrate(false)
58
-           ->select('applyId')
59
-           ->field('applyId')->equals($applyId);
58
+            ->select('applyId')
59
+            ->field('applyId')->equals($applyId);
60 60
            
61 61
         $result = $qb->getQuery()->execute();
62 62
         $count = $result->count();
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         $qb = $this->createQueryBuilder();
137 137
         $qb->distinct('organization')
138 138
             ->hydrate(true)
139
-           ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]);
139
+            ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]);
140 140
 
141 141
         $q = $qb->getQuery();
142 142
         $r = $q->execute();
@@ -206,8 +206,8 @@  discard block
 block discarded – undo
206 206
 
207 207
         if (null !== $isDeleted) {
208 208
             $qb->addAnd(
209
-               $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted))
210
-                          ->addOr($qb->expr()->field('isDeleted')->exists(false))
209
+                $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted))
210
+                            ->addOr($qb->expr()->field('isDeleted')->exists(false))
211 211
             );
212 212
         }
213 213
 
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Repository/Organization.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,10 +129,10 @@
 block discarded – undo
129 129
 //           )
130 130
 //        );
131 131
         $qb->addAnd($qb->expr()->field('user')->equals($userId))
132
-           ->addAnd(
133
-               $qb->expr()->addOr($qb->expr()->field('parent')->exists(false))
134
-                               ->addOr($qb->expr()->field('parent')->equals(null))
135
-           );
132
+            ->addAnd(
133
+                $qb->expr()->addOr($qb->expr()->field('parent')->exists(false))
134
+                                ->addOr($qb->expr()->field('parent')->equals(null))
135
+            );
136 136
 
137 137
         $q      = $qb->getQuery();
138 138
         $entity = $q->getSingleResult();
Please login to merge, or discard this patch.