Passed
Pull Request — master (#299)
by Christoffer
02:41
created
src/Schema/Resolver/AbstractResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getResolveCallback(): ?callable
39 39
     {
40
-        return function ($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) {
40
+        return function($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) {
41 41
             return $this->resolve(...\func_get_args());
42 42
         };
43 43
     }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function getTypeResolver(): ?callable
49 49
     {
50
-        return function ($rootValue, $contextValues = null, ?ResolveInfo $info = null) {
50
+        return function($rootValue, $contextValues = null, ?ResolveInfo $info = null) {
51 51
             return $this->resolveType($rootValue, $contextValues, $info);
52 52
         };
53 53
     }
Please login to merge, or discard this patch.
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/ResolverRegistry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,8 +106,8 @@
 block discarded – undo
106 106
     {
107 107
         return \array_reduce(
108 108
             $middleware,
109
-            function (callable $resolveCallback, ResolverMiddlewareInterface $middleware) {
110
-                return function ($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) use (
109
+            function(callable $resolveCallback, ResolverMiddlewareInterface $middleware) {
110
+                return function($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) use (
111 111
                     $resolveCallback,
112 112
                     $middleware
113 113
                 ) {
Please login to merge, or discard this patch.