original_string: public function checkPasswordNotUsed($attribute, $params, $validator)
      {
          $class = $this->passwordHistoryClass;
          $result = $class::isUsed($this->_password, $this);
          if ($result != false) {
              $this->trigger(static::$eventPasswordUsed);
              $this->addError($attribute, $this->passwordUsedMessage);
          }
      }
code: public function checkPasswordNotUsed($attribute, $params, $validator)
      {
          $class = $this->passwordHistoryClass;
          $result = $class::isUsed($this->_password, $this);
          if ($result != false) {
              $this->trigger(static::$eventPasswordUsed);
              $this->addError($attribute, $this->passwordUsedMessage);
          }
      }
code_tokens: public function checkPasswordNotUsed ( $ attribute , $ params , $ validator ) { $ class = $ this -> passwordHistoryClass ; $ result = $ class :: isUsed ( $ this -> _password , $ this ) ; if ( $ result != false ) { $ this -> trigger ( static :: $ eventPasswordUsed ) ; $ this -> addError ( $ attribute , $ this -> passwordUsedMessage ) ; } }
docstring: This method is only used for password hash attribute validation.
  If password is used, the `eventPasswordUsed` event will be triggered.
  
  @param string $attribute
  @param mixed $params
  @param type $validator
docstring_tokens: This method is only used for password hash attribute validation . If password is used the eventPasswordUsed event will be triggered .