8000 Update src/Symfony/Component/Validator/Constraints/UniqueValidator.php · symfony/symfony@a87533c · GitHub
[go: up one dir, main page]

Skip to content

Commit a87533c

Browse files
plfortartyuum
andcommitted
Update src/Symfony/Component/Validator/Constraints/UniqueValidator.php
Co-authored-by: Artyum <didifsx@hotmail.fr>
1 parent bb43cd4 commit a87533c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/UniqueValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private function getPropertyAccessor(): PropertyAccessor
118118
{
119119
if (null === $this->propertyAccessor) {
120120
if (!class_exists(PropertyAccess::class)) {
121-
throw new LogicException('Property path requires symfony/property-access package to be installed.');
121+
throw new LogicException('Property path requires symfony/property-access package to be installed. Try running "composer require symfony/property-access".');
122122
}
123123
$this->propertyAccessor = PropertyAccess::createPropertyAccessor();
124124
}

0 commit comments

Comments
 (0)
0