Passed
Push — main ( b2abd6...7a9836 )
by Tom
52s queued 13s
created
src/Resolve/ResolveEntityFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function get(Entity $entity, string $eventName): Closure
34 34
     {
35
-        return function ($objectValue, array $args, $context, ResolveInfo $info) use ($entity, $eventName) {
35
+        return function($objectValue, array $args, $context, ResolveInfo $info) use ($entity, $eventName) {
36 36
             $entityClass = $entity->getEntityClass();
37 37
             // Resolve top level filters
38 38
             $filterTypes = $args['filter'] ?? [];
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         $paginator = new Paginator($queryBuilder->getQuery());
203 203
         $itemCount = $paginator->count();
204 204
 
205
-        if ($last && ! $before) {
205
+        if ($last && !$before) {
206 206
             $offset = $itemCount - $last;
207 207
             $queryBuilder->setFirstResult($offset);
208 208
             $paginator = new Paginator($queryBuilder->getQuery());
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
             ];
222 222
 
223 223
             $lastCursor = $cursor;
224
-            if (! $firstCursor) {
224
+            if (!$firstCursor) {
225 225
                 $firstCursor = $cursor;
226 226
             }
227 227
 
Please login to merge, or discard this patch.