original_string: public function getActivatedPhoneNumbers()
      {
          Piwik::checkUserIsNotAnonymous();
  
          $phoneNumbers = $this->retrievePhoneNumbers();
  
          $activatedPhoneNumbers = array();
          foreach ($phoneNumbers as $phoneNumber => $verificationCode) {
              if (self::isActivated($verificationCode)) {
                  $activatedPhoneNumbers[] = $phoneNumber;
              }
          }
  
          return $activatedPhoneNumbers;
      }
code: public function getActivatedPhoneNumbers()
      {
          Piwik::checkUserIsNotAnonymous();
  
          $phoneNumbers = $this->retrievePhoneNumbers();
  
          $activatedPhoneNumbers = array();
          foreach ($phoneNumbers as $phoneNumber => $verificationCode) {
              if (self::isActivated($verificationCode)) {
                  $activatedPhoneNumbers[] = $phoneNumber;
              }
          }
  
          return $activatedPhoneNumbers;
      }
code_tokens: public function getActivatedPhoneNumbers ( ) { Piwik :: checkUserIsNotAnonymous ( ) ; $ phoneNumbers = $ this -> retrievePhoneNumbers ( ) ; $ activatedPhoneNumbers = array ( ) ; foreach ( $ phoneNumbers as $ phoneNumber => $ verificationCode ) { if ( self :: isActivated ( $ verificationCode ) ) { $ activatedPhoneNumbers [ ] = $ phoneNumber ; } } return $ activatedPhoneNumbers ; }
docstring: get activated phone number list
  
  @return array $phoneNumber
  @ignore
docstring_tokens: get activated phone number list