Completed
Push — master ( e941e8...a15ed4 )
by Portey
04:15
created
src/Type/InputObject/AbstractInputObjectType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         }
66 66
 
67 67
         $typeConfig     = $this->getConfig();
68
-        $requiredFields = array_filter($typeConfig->getFields(), function (InputFieldInterface $field) {
68
+        $requiredFields = array_filter($typeConfig->getFields(), function(InputFieldInterface $field) {
69 69
             return $field->getType()->getKind() == TypeMap::KIND_NON_NULL;
70 70
         });
71 71
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     public function parseValue($value)
107 107
     {
108 108
         if (is_null($value)) return null;
109
-        if($value instanceof InputObject) {
109
+        if ($value instanceof InputObject) {
110 110
             $value = $value->getValue();
111 111
         }
112 112
 
Please login to merge, or discard this patch.