Passed
Push — main ( 008d5d...79be84 )
by Tom
53s queued 13s
created
src/Resolve/ResolveEntityFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function get(Entity $entity, string $eventName): Closure
33 33
     {
34
-        return function ($objectValue, array $args, $context, ResolveInfo $info) use ($entity, $eventName) {
34
+        return function($objectValue, array $args, $context, ResolveInfo $info) use ($entity, $eventName) {
35 35
             $entityClass = $entity->getEntityClass();
36 36
 
37 37
             $queryBuilderFilter = (new Applicator($this->entityManager, $entityClass))
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
         $itemCount = $paginator->count();
177 177
 
178 178
         // Rebuild paginator if needed
179
-        if ($last && ! $before) {
179
+        if ($last && !$before) {
180 180
             $offset = $itemCount - $last;
181 181
             $queryBuilder->setFirstResult($offset);
182 182
             $paginator = new Paginator($queryBuilder->getQuery());
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
             ];
194 194
 
195 195
             $lastCursor = $cursor;
196
-            if (! $firstCursor) {
196
+            if (!$firstCursor) {
197 197
                 $firstCursor = $cursor;
198 198
             }
199 199
 
Please login to merge, or discard this patch.