浏览代码

Adding some basic PHPDoc

Ryan Weaver 13 年之前
父节点
当前提交
96b51c59d8
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/Composer/Compiler.php

+ 6 - 0
src/Composer/Compiler.php

@@ -24,6 +24,12 @@ class Compiler
 {
     protected $version;
 
+    /**
+     * Compiles composer into a single phar file
+     *
+     * @throws \RuntimeException
+     * @param string $pharFile The full path to the file to create
+     */
     public function compile($pharFile = 'composer.phar')
     {
         if (file_exists($pharFile)) {