Completed
Push — master ( 2975e7...46c3ee )
by Rafael
07:49
created
src/Filter/Resolver/DoctrineORMFilterResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * @inheritDoc
66 66
      */
67
-    public function resolve(ExecutableDefinitionInterface $executableDefinition,ObjectDefinitionInterface $node, Endpoint $endpoint): array
67
+    public function resolve(ExecutableDefinitionInterface $executableDefinition, ObjectDefinitionInterface $node, Endpoint $endpoint): array
68 68
     {
69 69
         $class = $node->getClass();
70 70
         $filters = [];
Please login to merge, or discard this patch.
src/Filter/Common/NodeFilter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,10 +70,10 @@
 block discarded – undo
70 70
                 $paramName = sprintf('%s_ids_%s', $column, mt_rand());
71 71
                 if ($condition->getOp() === NodeComparisonOperatorType::IN) {
72 72
                     $qb->andWhere(sprintf(':%s MEMBER OF %s.%s', $paramName, $alias, $column))
73
-                       ->setParameter($paramName, $ids);
73
+                        ->setParameter($paramName, $ids);
74 74
                 } else {
75 75
                     $qb->andWhere(sprintf(':%s NOT MEMBER OF %s.%s', $paramName, $alias, $column))
76
-                       ->setParameter($paramName, $ids);
76
+                        ->setParameter($paramName, $ids);
77 77
                 }
78 78
                 break;
79 79
         }
Please login to merge, or discard this patch.
src/Definition/Plugin/PaginationDefinitionPlugin.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -75,17 +75,17 @@
 block discarded – undo
75 75
 
76 76
         /** @var NodeBuilder $rootNode */
77 77
         $config->scalarNode('target')
78
-               ->info('Target node to properly paginate. If is possible will be auto-resolved using naming conventions')
79
-               ->isRequired();
78
+                ->info('Target node to properly paginate. If is possible will be auto-resolved using naming conventions')
79
+                ->isRequired();
80 80
         $config->variableNode('filters')
81
-               ->info('Filters configuration');
81
+                ->info('Filters configuration');
82 82
         $config->integerNode('limit')->info('Max number of records allowed for first & last')->defaultValue($this->limit);
83 83
         $config->scalarNode('parent_field')
84
-               ->info('When is used in sub-fields should be the field to filter by parent instance');
84
+                ->info('When is used in sub-fields should be the field to filter by parent instance');
85 85
         $config->enumNode('parent_relation')
86
-               ->info('When is used in sub-fields should be the type of relation with the parent field')
87
-               ->defaultValue(self::ONE_TO_MANY)
88
-               ->values([self::ONE_TO_MANY, self::MANY_TO_MANY]);
86
+                ->info('When is used in sub-fields should be the type of relation with the parent field')
87
+                ->defaultValue(self::ONE_TO_MANY)
88
+                ->values([self::ONE_TO_MANY, self::MANY_TO_MANY]);
89 89
     }
90 90
 
91 91
     /**
Please login to merge, or discard this patch.