diff --git a/src/CoreBundle/Validator/Constraints/InlineConstraint.php b/src/CoreBundle/Validator/Constraints/InlineConstraint.php index c5288bfa..b089225a 100755 --- a/src/CoreBundle/Validator/Constraints/InlineConstraint.php +++ b/src/CoreBundle/Validator/Constraints/InlineConstraint.php @@ -13,7 +13,7 @@ namespace Sonata\CoreBundle\Validator\Constraints; -if (!class_exists(Sonata\Form\Validator\Constraints\InlineConstraint::class, false)) { +if (!class_exists(\Sonata\Form\Validator\Constraints\InlineConstraint::class, false)) { @trigger_error( 'The '.__NAMESPACE__.'\InlineConstraint class is deprecated since version 3.13.0 and will be removed in 4.0.' .' Use Sonata\Form\Validator\Constraint\InlineConstraint instead.',