浏览代码

Add chainability of disableCustomInstallers

Jordi Boggiano 12 年之前
父节点
当前提交
22344f6ad7
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/Composer/Installer.php

+ 4 - 0
src/Composer/Installer.php

@@ -844,9 +844,13 @@ class Installer
      * Call this if you want to ensure that third-party code never gets
      * executed. The default is to automatically install, and execute
      * custom third-party installers.
+     *
+     * @return Installer
      */
     public function disableCustomInstallers()
     {
         $this->installationManager->disableCustomInstallers();
+
+        return $this;
     }
 }