original_string: private function build_photo_url($photoid) {
          $bestsize = $this->get_best_size($photoid);
          if (!isset($bestsize['source'])) {
              throw new repository_exception('cannotdownload', 'repository');
          }
          return $bestsize['source'];
      }
code: private function build_photo_url($photoid) {
          $bestsize = $this->get_best_size($photoid);
          if (!isset($bestsize['source'])) {
              throw new repository_exception('cannotdownload', 'repository');
          }
          return $bestsize['source'];
      }
code_tokens: private function build_photo_url ( $ photoid ) { $ bestsize = $ this -> get_best_size ( $ photoid ) ; if ( ! isset ( $ bestsize [ 'source' ] ) ) { throw new repository_exception ( 'cannotdownload' , 'repository' ) ; } return $ bestsize [ 'source' ] ; }
docstring: Return photo url by given photo id
  @param string $photoid
  @return string
docstring_tokens: Return photo url by given photo id