Skip to content

Commit

Permalink
fix(symfony): annotation reader argument optional (#5358)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsorst committed Jan 23, 2023
1 parent e6cb634 commit 53cb25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/Resources/config/metadata/resource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

<service id="api_platform.metadata.resource.metadata_collection_factory.filters" class="ApiPlatform\Metadata\Resource\Factory\FiltersResourceMetadataCollectionFactory" decorates="api_platform.metadata.resource.metadata_collection_factory" decoration-priority="200" public="false">
<argument type="service" id="api_platform.metadata.resource.metadata_collection_factory.filters.inner" />
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="null" />
</service>

<service id="api_platform.metadata.resource.metadata_collection_factory.alternate_uri" class="ApiPlatform\Metadata\Resource\Factory\AlternateUriResourceMetadataCollectionFactory" decorates="api_platform.metadata.resource.metadata_collection_factory" decoration-priority="200" public="false">
Expand Down

0 comments on commit 53cb25f

Please sign in to comment.