소스 검색

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;
     }
 }