浏览代码

Documentation fixes for composer-plugin type

Fabian Vogler 11 年之前
父节点
当前提交
0f9988b065
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/articles/custom-installers.md

+ 2 - 2
doc/articles/custom-installers.md

@@ -72,7 +72,7 @@ Example:
 
     {
         "name": "phpdocumentor/template-installer-plugin",
-        "type": "composer-installer-plugin",
+        "type": "composer-plugin",
         "license": "MIT",
         "autoload": {
             "psr-0": {"phpDocumentor\\Composer": "src/"}
@@ -97,7 +97,7 @@ Example:
 
     use Composer\Composer;
     use Composer\IO\IOInterface;
-    use Composer\Plugin\PluginInterface
+    use Composer\Plugin\PluginInterface;
 
     class TemplateInstallerPlugin implements PluginInterface
     {