Passed
Push — main ( 4aba17...588674 )
by Tom
54s queued 12s
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))
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         $itemCount = $paginator->count();
187 187
 
188 188
         // Rebuild paginator if needed
189
-        if ($paginationFields['last'] && ! $paginationFields['before']) {
189
+        if ($paginationFields['last'] && !$paginationFields['before']) {
190 190
             $offsetAndLimit['offset'] = $itemCount - $paginationFields['last'];
191 191
             $queryBuilder->setFirstResult($offsetAndLimit['offset']);
192 192
             $paginator = new Paginator($queryBuilder->getQuery());
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
                 'cursor' => $cursors['last'],
201 201
             ];
202 202
 
203
-            if (! $cursors['first']) {
203
+            if (!$cursors['first']) {
204 204
                 $cursors['first'] = $cursors['last'];
205 205
             }
206 206
 
Please login to merge, or discard this patch.