Skip to content

Commit 3cada4c

Browse files
committed
fix: use metadata exception
1 parent 693f7bc commit 3cada4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Doctrine/EventListener/PublishMercureUpdatesListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
use ApiPlatform\Api\IriConverterInterface as LegacyIriConverterInterface;
1717
use ApiPlatform\Api\ResourceClassResolverInterface as LegacyResourceClassResolverInterface;
1818
use ApiPlatform\Doctrine\Common\Messenger\DispatchTrait;
19-
use ApiPlatform\Exception\InvalidArgumentException;
20-
use ApiPlatform\Exception\OperationNotFoundException;
21-
use ApiPlatform\Exception\RuntimeException;
2219
use ApiPlatform\GraphQl\Subscription\MercureSubscriptionIriGeneratorInterface as GraphQlMercureSubscriptionIriGeneratorInterface;
2320
use ApiPlatform\GraphQl\Subscription\SubscriptionManagerInterface as GraphQlSubscriptionManagerInterface;
21+
use ApiPlatform\Metadata\Exception\InvalidArgumentException;
22+
use ApiPlatform\Metadata\Exception\OperationNotFoundException;
23+
use ApiPlatform\Metadata\Exception\RuntimeException;
2424
use ApiPlatform\Metadata\HttpOperation;
2525
use ApiPlatform\Metadata\IriConverterInterface;
2626
use ApiPlatform\Metadata\Operation;

0 commit comments

Comments
 (0)