Passed
Push — master ( fcf319...28c3df )
by Rafael
07:26
created
src/Subscription/SubscriptionManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         array_walk_recursive(
102 102
             $data,
103
-            function (&$value, $key) {
103
+            function(&$value, $key) {
104 104
                 if (is_object($value)) {
105 105
                     throw new \RuntimeException(
106 106
                         sprintf('The object "%s" in key "%s" can\'t be part of publish data, only scalar values can be sent.', get_class($value), $key)
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $channels = array_keys($this->registry->getEndpoint()->getSubscriptionsResolvers());
122 122
         $this->pubSubHandler->consume(
123 123
             $channels,
124
-            function (SubscriptionMessage $message) use ($output, $debug) {
124
+            function(SubscriptionMessage $message) use ($output, $debug) {
125 125
                 /** @var Request $request */
126 126
                 $request = $message->getMeta()['request'] ?? null;
127 127
                 $subscribedFilters = $message->getMeta()['arguments'] ?? [];
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     {
170 170
         array_walk_recursive(
171 171
             $data,
172
-            function (&$value) {
172
+            function(&$value) {
173 173
                 if ($value instanceof NodeInterface) {
174 174
                     $value = IDEncoder::encode($value);
175 175
                 }
Please login to merge, or discard this patch.
src/YnloGraphQLBundle.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,11 +59,11 @@
 block discarded – undo
59 59
         $container->registerForAutoconfiguration(InputFieldTypeGuesser::class)->addTag('graphql.input_type_guesser');
60 60
         $container->registerForAutoconfiguration(FilterResolverInterface::class)->addTag('graphql.filter_resolver');
61 61
         $container->registerForAutoconfiguration(SearchByInterface::class)
62
-                  ->addTag('graphql.list_search')
63
-                  ->setPublic(true);
62
+                    ->addTag('graphql.list_search')
63
+                    ->setPublic(true);
64 64
         $container->registerForAutoconfiguration(FilterInterface::class)
65
-                  ->addTag('graphql.list_filter')
66
-                  ->setPublic(true);
65
+                    ->addTag('graphql.list_filter')
66
+                    ->setPublic(true);
67 67
     }
68 68
 
69 69
     /**
Please login to merge, or discard this patch.
src/Mutation/AbstractMutationResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         if ($formBuilder) {
47 47
             $formBuilder->addEventListener(
48 48
                 FormEvents::SUBMIT,
49
-                function (FormEvent $event) use (&$mutationEvent) {
49
+                function(FormEvent $event) use (&$mutationEvent) {
50 50
                     if ($this->eventDispatcher) {
51 51
                         $mutationEvent = new GraphQLMutationEvent($this->context, $event);
52 52
                         $this->eventDispatcher->dispatch(GraphQLEvents::MUTATION_SUBMITTED, $mutationEvent);
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
 
57 57
             $formBuilder->addEventSubscriber($this);
58 58
 
59
-            $extensionExecutor = function ($method) {
60
-                return function (FormEvent $event) use ($method) {
59
+            $extensionExecutor = function($method) {
60
+                return function(FormEvent $event) use ($method) {
61 61
                     foreach ($this->extensions as $extension) {
62 62
                         call_user_func_array([$extension, $method], [$event]);
63 63
                     }
Please login to merge, or discard this patch.
src/Pagination/DoctrineOffsetCursorPaginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
      */
96 96
     protected function parseNode($result): NodeInterface
97 97
     {
98
-        if ($result instanceof NodeInterface){
98
+        if ($result instanceof NodeInterface) {
99 99
             return $result;
100 100
         }
101 101
 
Please login to merge, or discard this patch.