Passed
Push — master ( c39fb6...9e9a0d )
by Rafael
04:42
created
src/Type/AbstractObjectType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,18 +45,18 @@
 block discarded – undo
45 45
             [
46 46
                 'name' => $definition->getName(),
47 47
                 'description' => $definition->getDescription(),
48
-                'fields' => function () {
48
+                'fields' => function() {
49 49
                     return $this->resolveFields();
50 50
                 },
51
-                'interfaces' => function () {
51
+                'interfaces' => function() {
52 52
                     return $this->resolveInterfaces();
53 53
                 },
54
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
54
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
55 55
                     $resolver = new ObjectFieldResolver($this->container, $this->endpoint, $this->definition);
56 56
 
57 57
                     return $resolver($root, $args, $context, $resolveInfo);
58 58
                 },
59
-                'isTypeOf' => function ($value, $context, ResolveInfo $info) {
59
+                'isTypeOf' => function($value, $context, ResolveInfo $info) {
60 60
                     //TODO: implement this
61 61
                 },
62 62
             ]
Please login to merge, or discard this patch.
src/Type/MutationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $defaults = [
26 26
             'name' => 'Mutation',
27
-            'fields' => function () {
27
+            'fields' => function() {
28 28
                 $mutations = [];
29 29
                 foreach ($this->endpoint->allMutations() as $query) {
30 30
                     $mutations[$query->getName()] = $this->getQueryConfig($query);
Please login to merge, or discard this patch.
src/Type/QueryType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     {
38 38
         $defaults = [
39 39
             'name' => 'Query',
40
-            'fields' => function () {
40
+            'fields' => function() {
41 41
                 $queries = [];
42 42
                 foreach ($this->endpoint->allQueries() as $query) {
43 43
                     $queries[$query->getName()] = $this->getQueryConfig($query);
Please login to merge, or discard this patch.
src/Type/AbstractInterfaceType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@
 block discarded – undo
46 46
             [
47 47
                 'name' => $definition->getName(),
48 48
                 'description' => $definition->getDescription(),
49
-                'fields' => function () {
49
+                'fields' => function() {
50 50
                     return $this->resolveFields();
51 51
                 },
52
-                'resolveType' => function ($value) {
52
+                'resolveType' => function($value) {
53 53
                     foreach ($this->definition->getImplementors() as $implementor) {
54 54
                         $implementorDef = $this->endpoint->getType($implementor);
55 55
                         //ClassUtils::getClass is required to avoid proxies
Please login to merge, or discard this patch.
src/Type/AbstractInputObjectType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
             [
46 46
                 'name' => $definition->getName(),
47 47
                 'description' => $definition->getDescription(),
48
-                'fields' => function () {
48
+                'fields' => function() {
49 49
                     return $this->resolveFields();
50 50
                 },
51
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
51
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
52 52
                     $resolver = new ObjectFieldResolver($this->container, $this->endpoint, $this->definition);
53 53
 
54 54
                     return $resolver($root, $args, $context, $resolveInfo);
Please login to merge, or discard this patch.