Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
Fixed deprecation message for InlineConstraint always displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
jorrit authored and jordisala1991 committed Jun 1, 2020
1 parent a256555 commit ad14e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoreBundle/Validator/Constraints/InlineConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit ad14e7f

Please sign in to comment.