Skip to content

Commit 8f9de7f

Browse files
committed
Remove redundant code
1 parent 53925bf commit 8f9de7f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/Config/TypeWithOutputFieldsDefinition.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
abstract class TypeWithOutputFieldsDefinition extends TypeDefinition
1010
{
11-
1211
protected function outputFieldsSection(): NodeDefinition
1312
{
1413
$node = self::createNode('fields');

src/Validator/InputValidator.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,6 @@ protected function buildValidationTree(ValidationNode $rootObject, array $proper
129129
/** @var ObjectType|InputObjectType $type */
130130
$type = $options['referenceType'];
131131

132-
if (null === $type) {
133-
continue;
134-
}
135-
136132
if ($options['isCollection']) {
137133
$rootObject->$property = $this->createCollectionNode($args[$property], $type, $rootObject);
138134
} else {

0 commit comments

Comments
 (0)