@@ -32,7 +32,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 221 | 221 | ]; |
| 222 | 222 | |
| 223 | 223 | $lastCursor = $cursor; |
| 224 | - if (! $firstCursor) { |
|
| 224 | + if (!$firstCursor) { |
|
| 225 | 225 | $firstCursor = $cursor; |
| 226 | 226 | } |
| 227 | 227 | |