Passed
Pull Request — master (#299)
by Christoffer
04:12 queued 01:53
created
src/Schema/Resolver/ResolverCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function getResolveCallback(): ?callable
45 45
     {
46
-        return function ($fieldName) {
46
+        return function($fieldName) {
47 47
             $resolver = $this->getResolver($fieldName);
48 48
 
49 49
             if ($resolver instanceof ResolverInterface) {
Please login to merge, or discard this patch.
src/Schema/Resolver/AbstractResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function getResolveCallback(): ?callable
30 30
     {
31
-        return function ($rootValue, array $arguments, $context = null, ?ResolveInfo $info = null) {
31
+        return function($rootValue, array $arguments, $context = null, ?ResolveInfo $info = null) {
32 32
             return $this->resolve($rootValue, $arguments, $context, $info);
33 33
         };
34 34
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function getTypeResolver(): ?callable
40 40
     {
41
-        return function ($rootValue, $context = null, ?ResolveInfo $info = null) {
41
+        return function($rootValue, $context = null, ?ResolveInfo $info = null) {
42 42
             return $this->resolveType($rootValue, $context, $info);
43 43
         };
44 44
     }
Please login to merge, or discard this patch.
src/Schema/Resolver/ResolverRegistry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,8 +112,8 @@
 block discarded – undo
112 112
     {
113 113
         return \array_reduce(
114 114
             $middleware,
115
-            function (callable $resolveCallback, ResolverMiddlewareInterface $middleware) {
116
-                return function ($rootValue, array $arguments, $context = null, ?ResolveInfo $info = null) use (
115
+            function(callable $resolveCallback, ResolverMiddlewareInterface $middleware) {
116
+                return function($rootValue, array $arguments, $context = null, ?ResolveInfo $info = null) use (
117 117
                     $resolveCallback,
118 118
                     $middleware
119 119
                 ) {
Please login to merge, or discard this patch.