Skip to content

Commit a3e5277

Browse files
fix: replace ApiPlatform\Exception use by ApiPlatform\Metadata\Exception (#6597)
1 parent 7ecc723 commit a3e5277

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Serializer/EntrypointNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
use ApiPlatform\Api\IriConverterInterface as LegacyIriConverterInterface;
1818
use ApiPlatform\Api\UrlGeneratorInterface as LegacyUrlGeneratorInterface;
1919
use ApiPlatform\Documentation\Entrypoint as DocumentationEntrypoint;
20-
use ApiPlatform\Exception\InvalidArgumentException;
2120
use ApiPlatform\Metadata\CollectionOperationInterface;
21+
use ApiPlatform\Metadata\Exception\InvalidArgumentException;
2222
use ApiPlatform\Metadata\HttpOperation;
2323
use ApiPlatform\Metadata\IriConverterInterface;
2424
use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface;

Serializer/ItemNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
use ApiPlatform\Api\IriConverterInterface as LegacyIriConverterInterface;
1717
use ApiPlatform\Api\ResourceClassResolverInterface as LegacyResourceClassResolverInterface;
18-
use ApiPlatform\Exception\ItemNotFoundException;
1918
use ApiPlatform\Metadata\ApiProperty;
19+
use ApiPlatform\Metadata\Exception\ItemNotFoundException;
2020
use ApiPlatform\Metadata\IriConverterInterface;
2121
use ApiPlatform\Metadata\Property\Factory\PropertyMetadataFactoryInterface;
2222
use ApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface;

0 commit comments

Comments
 (0)