Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
portey committed Jan 22, 2016
2 parents 48240ef + d477dfc commit 2ebd55a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Validator/ConfigValidator/Rules/TypeValidationRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public function validate($data, $ruleInfo)
|| $data instanceof AbstractInterfaceType
|| $data instanceof AbstractUnionType
|| $data instanceof AbstractEnumType
|| $data instanceof AbstractScalarType;
|| $data instanceof AbstractScalarType
|| $data instanceof AbstractInputObjectType;

case TypeMap::TYPE_OBJECT_INPUT_TYPE:
return $data instanceof AbstractInputObjectType;
Expand Down Expand Up @@ -174,4 +175,4 @@ private function isInputField($data, $name = null)
return false;
}

}
}

0 comments on commit 2ebd55a

Please sign in to comment.