Skip to content

Commit 58b5c09

Browse files
authored
Merge pull request #3096 from teohhanhui/revert-3079
Revert #3079
2 parents d7dad2d + 3fd58da commit 58b5c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SchemaFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ private function getMetadata(string $resourceClass, string $type = Schema::TYPE_
230230
$inputOrOutput = $resourceMetadata->getTypedOperationAttribute($operationType, $operationName, $attribute, ['class' => $resourceClass], true);
231231
}
232232

233-
if (false === ($inputOrOutput['class'] ?? false)) {
233+
if (null === ($inputOrOutput['class'] ?? null)) {
234234
// input or output disabled
235235
return null;
236236
}

0 commit comments

Comments
 (0)