original_string: public function validatePhoneNumber($phoneNumber, $verificationCode)
      {
          Piwik::checkUserIsNotAnonymous();
  
          $phoneNumbers = $this->retrievePhoneNumbers();
  
          if (isset($phoneNumbers[$phoneNumber])) {
              if ($verificationCode == $phoneNumbers[$phoneNumber]) {
  
                  $phoneNumbers[$phoneNumber] = null;
                  $this->savePhoneNumbers($phoneNumbers);
                  return true;
              }
          }
  
          return false;
      }
code: public function validatePhoneNumber($phoneNumber, $verificationCode)
      {
          Piwik::checkUserIsNotAnonymous();
  
          $phoneNumbers = $this->retrievePhoneNumbers();
  
          if (isset($phoneNumbers[$phoneNumber])) {
              if ($verificationCode == $phoneNumbers[$phoneNumber]) {
  
                  $phoneNumbers[$phoneNumber] = null;
                  $this->savePhoneNumbers($phoneNumbers);
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function validatePhoneNumber ( $ phoneNumber , $ verificationCode ) { Piwik :: checkUserIsNotAnonymous ( ) ; $ phoneNumbers = $ this -> retrievePhoneNumbers ( ) ; if ( isset ( $ phoneNumbers [ $ phoneNumber ] ) ) { if ( $ verificationCode == $ phoneNumbers [ $ phoneNumber ] ) { $ phoneNumbers [ $ phoneNumber ] = null ; $ this -> savePhoneNumbers ( $ phoneNumbers ) ; return true ; } } return false ; }
docstring: validate phone number
  
  @param string $phoneNumber
  @param string $verificationCode
  
  @return bool true if validation code is correct, false otherwise
docstring_tokens: validate phone number