Browse Source

Add chainability of disableCustomInstallers

Jordi Boggiano 12 năm trước cách đây
mục cha
commit
22344f6ad7
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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;
     }
 }