original_string: protected static function initRepository(Binary $git, $path, $initArguments = null)
      {
          $initArguments = $initArguments ?: Array();
  
          /** @var $result CallResult */
          $result = $git->{'init'}($path, $initArguments);
          $result->assertSuccess(sprintf('Cannot initialize a Git repository in "%s"', $path));
      }
code: protected static function initRepository(Binary $git, $path, $initArguments = null)
      {
          $initArguments = $initArguments ?: Array();
  
          /** @var $result CallResult */
          $result = $git->{'init'}($path, $initArguments);
          $result->assertSuccess(sprintf('Cannot initialize a Git repository in "%s"', $path));
      }
code_tokens: protected static function initRepository ( Binary $ git , $ path , $ initArguments = null ) { $ initArguments = $ initArguments ? : Array ( ) ; /** @var $result CallResult */ $ result = $ git -> { 'init' } ( $ path , $ initArguments ) ; $ result -> assertSuccess ( sprintf ( 'Cannot initialize a Git repository in "%s"' , $ path ) ) ; }
docstring: Initializes a path to be used as a Git repository
  
  @param   Binary   $git           The Git binary
  @param   string   $path          The repository path
  @param   array    $initArguments Arguments to pass to git-init when initializing the repository
docstring_tokens: Initializes a path to be used as a Git repository