Closed mathewrapid closed 7 years ago
I'm reporting a Bug
public function getTargets() is a method of the Constraint class, not ConstraintValidator https://github.com/akeneo/pim-community-dev/blob/master/src/Pim/Component/Catalog/Validator/Constraints/ImmutableValidator.php#L64-L67
public function getTargets()
Constraint
ConstraintValidator
Hi @mathewrapid !
Thank you for opening the issue :tada:
Don't hesitate to open a pull request on the master to remove this method.
Cheers.
I'm reporting a Bug
public function getTargets()
is a method of theConstraint
class, notConstraintValidator
https://github.com/akeneo/pim-community-dev/blob/master/src/Pim/Component/Catalog/Validator/Constraints/ImmutableValidator.php#L64-L67