Completed
Push — master ( 11eb7b...58afbd )
by Portey
04:04
created
src/Definition/QueryType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
             ->addField('kind', TypeMap::TYPE_STRING)
25 25
             ->addField('description', TypeMap::TYPE_STRING)
26 26
             ->addField('ofType', new QueryType(), [
27
-                'resolve' => function ($value) {
28
-                    if($value->getKind() == TypeMap::KIND_LIST){
27
+                'resolve' => function($value) {
28
+                    if ($value->getKind() == TypeMap::KIND_LIST) {
29 29
                         return $value->getConfig()->getItem();
30 30
                     }
31 31
 
Please login to merge, or discard this patch.
src/Definition/FieldType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
             ->addField('type', new QueryType(), [
27 27
                 'resolve' => function($value, $args) {
28 28
                     /** @var $value Field */
29
-                    if($value->getConfig()->getType()->getKind() == TypeMap::KIND_INPUT_OBJECT) {
29
+                    if ($value->getConfig()->getType()->getKind() == TypeMap::KIND_INPUT_OBJECT) {
30 30
                         return $value->getConfig()->getType()->getConfig()->getOutputType();
31 31
                     }
32 32
 
Please login to merge, or discard this patch.