Completed
Push — master ( 895aee...c5d013 )
by Arthur
8s
created
src/Schema/Resolve/CallableResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     protected function createFunction(array $config, Field $field)
22 22
     {
23
-        return function ($node, array $arguments, ResolveInfo $info) {
23
+        return function($node, array $arguments, ResolveInfo $info) {
24 24
             $resolveConfig = $this->getResolveConfig($info);
25 25
 
26 26
             $function = $resolveConfig['function'];
Please login to merge, or discard this patch.
src/Schema/Resolve/DoctrineResolver.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     protected function createFunction(array $config, Field $field)
37 37
     {
38
-        return function ($node, array $arguments, ResolveInfo $info) {
38
+        return function($node, array $arguments, ResolveInfo $info) {
39 39
             $resolveConfig = $this->getResolveConfig($info);
40 40
 
41 41
             $resolveConfig = $resolveConfig + [
@@ -44,8 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
             if (!isset($resolveConfig['method'])) {
46 46
                 $resolveConfig['method']       = $info->returnType instanceof ListOfType ?
47
-                    'findBy' :
48
-                    'findOneBy';
47
+                    'findBy' : 'findOneBy';
49 48
                 $resolveConfig['array_params'] = true;
50 49
             }
51 50
 
Please login to merge, or discard this patch.
src/Schema/SchemaFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
             }
169 169
 
170 170
             $typeName = $field->getType();
171
-            $field->setResolvedType(function () use ($typeName) {
171
+            $field->setResolvedType(function() use ($typeName) {
172 172
                 return $this->typeResolver->resolveType($typeName);
173 173
             });
174 174
         }
Please login to merge, or discard this patch.
src/Schema/Resolve/PropertyResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     protected function createFunction(array $config, Field $field)
22 22
     {
23
-        return function ($node, array $arguments, ResolveInfo $info) {
23
+        return function($node, array $arguments, ResolveInfo $info) {
24 24
             $resolveConfig = $this->getResolveConfig($info);
25 25
 
26 26
             $function = $resolveConfig['function'];
Please login to merge, or discard this patch.