original_string: private function resolveRepositoryName($repository)
      {
          if ($repository === null) {
              $aliases = array_keys($this->repositories);
              $repository = array_shift($aliases);
          }
  
          return $repository;
      }
code: private function resolveRepositoryName($repository)
      {
          if ($repository === null) {
              $aliases = array_keys($this->repositories);
              $repository = array_shift($aliases);
          }
  
          return $repository;
      }
code_tokens: private function resolveRepositoryName ( $ repository ) { if ( $ repository === null ) { $ aliases = array_keys ( $ this -> repositories ) ; $ repository = array_shift ( $ aliases ) ; } return $ repository ; }
docstring: Resolves repository name.
  
  @param string|null $repository
  
  @return string
docstring_tokens: Resolves repository name .