src/AppBundle/Entity/Usuario.php
/**
     * The equality comparison should neither be done by referential equality
     *
     * @param UserInterface $user
     *
     * @return bool
     */
The equality comparison should neither be done by referential equality
@param UserInterface $user

@return bool
The equality comparison should neither be done by referential equality @param UserInterface $user @return bool
public function isEqualTo(UserInterface $user)
    {
        return $user instanceof Usuario ? $user->getUpdateAt() == $this->getUpdateAt() : false;
    }
public function isEqualTo ( UserInterface $ user ) { return $ user instanceof Usuario ? $ user -> getUpdateAt ( ) == $ this -> getUpdateAt ( ) : false ; }
The equality comparison should neither be done by referential equality
 @param UserInterface $user
The equality comparison should neither be done by referential equality @param UserInterface $user
// Si el usuario ha sido actualizado entonces, desloguearlo