Skip to content

Commit 7f57911

Browse files
Fixed optional dependency from doctrine/common to doctrine/persistence
1 parent b0b31a3 commit 7f57911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EntityToIdentifierTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
use Symfony\Component\Form\Exception\TransformationFailedException;
3030

3131
if (!interface_exists(ObjectManager::class)) {
32-
throw new \LogicException('You cannot use "DarkWebDesign\SymfonyAddonTransformers\EntityToIdentifierTransformer" as the "doctrine/common" package is not installed. Try running "composer require doctrine/common".');
32+
throw new \LogicException('You cannot use "DarkWebDesign\SymfonyAddonTransformers\EntityToIdentifierTransformer" as the "doctrine/persistence" package is not installed. Try running "composer require doctrine/persistence:^1.0".');
3333
}
3434

3535
/**

0 commit comments

Comments
 (0)