Skip to content

Commit 3fd58da

Browse files
committed
Revert "Merge pull request #3079 from soyuka/feature/empty-item-operations"
This reverts commit c277aeb8c67bff72188aa65ce896bc3b1f08c468, reversing changes made to 1088a5d26b298d5b6130da24af35124e0b3cab00.
1 parent b3a9704 commit 3fd58da

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)