Skip to content

Commit db8cdb0

Browse files
committed
cs: add missing type
1 parent ce297e6 commit db8cdb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Metadata/Resource/Factory/NotExposedOperationResourceMetadataCollectionFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function create(string $resourceClass): ResourceMetadataCollection
6060
foreach ($resourceMetadataCollection as $resource) {
6161
$operations = $resource->getOperations();
6262

63+
/** @var ApiPlatform\Metadata\HttpOperation $operation */
6364
foreach ($operations as $operation) {
6465
// An item operation has been found, nothing to do anymore in this factory
6566
if (('GET' === $operation->getMethod() && !$operation instanceof CollectionOperationInterface) || ($operation->getExtraProperties()['is_legacy_resource_metadata'] ?? false)) {

0 commit comments

Comments
 (0)