Skip to content

Commit 0fc0904

Browse files
fix(metadata): correct class to exclude defaults (#7088)
1 parent c12d3dc commit 0fc0904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Metadata/Resource/Factory/OperationDefaultsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use ApiPlatform\Metadata\ApiResource;
1717
use ApiPlatform\Metadata\CollectionOperationInterface;
1818
use ApiPlatform\Metadata\Delete;
19-
use ApiPlatform\Metadata\Error;
2019
use ApiPlatform\Metadata\Exception\RuntimeException;
2120
use ApiPlatform\Metadata\Get;
2221
use ApiPlatform\Metadata\GetCollection;
@@ -32,6 +31,7 @@
3231
use ApiPlatform\Metadata\Patch;
3332
use ApiPlatform\Metadata\Post;
3433
use ApiPlatform\Metadata\Util\CamelCaseToSnakeCaseNameConverter;
34+
use ApiPlatform\State\ApiResource\Error;
3535
use ApiPlatform\State\CreateProvider;
3636
use ApiPlatform\Validator\Exception\ValidationException;
3737
use Psr\Log\LoggerInterface;

0 commit comments

Comments
 (0)