Преглед на файлове

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