diff --git a/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php b/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php index 148119dd57c..90c87a881cf 100644 --- a/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php +++ b/src/JsonApi/Serializer/ConstraintViolationListNormalizer.php @@ -22,7 +22,7 @@ use Symfony\Component\Validator\ConstraintViolationListInterface; /** - * Converts {@see \Symfony\Component\Validator\ConstraintViolationListInterface} to a JSON API error representation. + * Converts {@see ConstraintViolationListInterface} to a JSON API error representation. * * @author Héctor Hurtarte */ diff --git a/src/Metadata/Resource/Factory/NotExposedOperationResourceMetadataCollectionFactory.php b/src/Metadata/Resource/Factory/NotExposedOperationResourceMetadataCollectionFactory.php index 1857d4f952a..2bd4401ceb2 100644 --- a/src/Metadata/Resource/Factory/NotExposedOperationResourceMetadataCollectionFactory.php +++ b/src/Metadata/Resource/Factory/NotExposedOperationResourceMetadataCollectionFactory.php @@ -60,7 +60,7 @@ public function create(string $resourceClass): ResourceMetadataCollection foreach ($resourceMetadataCollection as $resource) { $operations = $resource->getOperations(); - /** @var \ApiPlatform\Metadata\HttpOperation $operation */ + /** @var HttpOperation $operation */ foreach ($operations as $operation) { // An item operation has been found, nothing to do anymore in this factory if (('GET' === $operation->getMethod() && !$operation instanceof CollectionOperationInterface) || ($operation->getExtraProperties()['is_legacy_resource_metadata'] ?? false)) { diff --git a/tests/Behat/DoctrineContext.php b/tests/Behat/DoctrineContext.php index 503eaf747e6..cbd246d16f4 100644 --- a/tests/Behat/DoctrineContext.php +++ b/tests/Behat/DoctrineContext.php @@ -2213,7 +2213,7 @@ public function thereIsADummyWithSubEntity(string $strId, string $name): void public function thereIsAGroupWithUuidAndNUsers(string $uuid, int $nbUsers): void { $group = new Group(); - $group->setUuid(\Symfony\Component\Uid\Uuid::fromString($uuid)); + $group->setUuid(SymfonyUuid::fromString($uuid)); $this->manager->persist($group);