mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 05:44:58 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -32,7 +32,7 @@ class UserCircleConsistencyValidator extends ConstraintValidator
|
||||
*/
|
||||
public function validate($value, Constraint $constraint)
|
||||
{
|
||||
/* @var $user \Chill\MainBundle\Entity\User */
|
||||
/** @var \Chill\MainBundle\Entity\User $user */
|
||||
$user = call_user_func([$value, $constraint->getUserFunction]);
|
||||
|
||||
if (null === $user) {
|
||||
|
Reference in New Issue
Block a user