Completed
Push — master ( 05fbf4...bdab35 )
by Alexandr
07:32
created
src/Type/InputObject/AbstractInputObjectType.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         }
55 55
 
56 56
         $typeConfig     = $this->getConfig();
57
-        $requiredFields = array_filter($typeConfig->getFields(), function (FieldInterface $field) {
57
+        $requiredFields = array_filter($typeConfig->getFields(), function(FieldInterface $field) {
58 58
             return $field->getType()->getKind() == TypeMap::KIND_NON_NULL;
59 59
         });
60 60
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     public function parseValue($value)
88 88
     {
89 89
         if (is_null($value)) return null;
90
-        if($value instanceof InputObject) {
90
+        if ($value instanceof InputObject) {
91 91
             $value = $value->getValue();
92 92
         }
93 93
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,9 @@
 block discarded – undo
86 86
 
87 87
     public function parseValue($value)
88 88
     {
89
-        if (is_null($value)) return null;
89
+        if (is_null($value)) {
90
+            return null;
91
+        }
90 92
         if($value instanceof InputObject) {
91 93
             $value = $value->getValue();
92 94
         }
Please login to merge, or discard this patch.