original_string: public function setPasswordHash($passwordHash)
      {
          if ($passwordHash === null) {
              $this->hashedPassword = null;
              return;
          }
  
          // check that the password hash is valid (sanity check)
          UsersManager::checkPasswordHash($passwordHash, Piwik::translate('Login_ExceptionPasswordMD5HashExpected'));
  
          $this->hashedPassword = $passwordHash;
      }
code: public function setPasswordHash($passwordHash)
      {
          if ($passwordHash === null) {
              $this->hashedPassword = null;
              return;
          }
  
          // check that the password hash is valid (sanity check)
          UsersManager::checkPasswordHash($passwordHash, Piwik::translate('Login_ExceptionPasswordMD5HashExpected'));
  
          $this->hashedPassword = $passwordHash;
      }
code_tokens: public function setPasswordHash ( $ passwordHash ) { if ( $ passwordHash === null ) { $ this -> hashedPassword = null ; return ; } // check that the password hash is valid (sanity check) UsersManager :: checkPasswordHash ( $ passwordHash , Piwik :: translate ( 'Login_ExceptionPasswordMD5HashExpected' ) ) ; $ this -> hashedPassword = $ passwordHash ; }
docstring: Sets the password hash to use when authentication.
  
  @param string $passwordHash The password hash.
docstring_tokens: Sets the password hash to use when authentication .