Selaa lähdekoodia

Make installer type case insensitive

Jordi Boggiano 13 vuotta sitten
vanhempi
commit
8aaac35ca1
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/Composer/Installer/InstallationManager.php

+ 2 - 0
src/Composer/Installer/InstallationManager.php

@@ -51,6 +51,8 @@ class InstallationManager
      */
     public function getInstaller($type)
     {
+        $type = strtolower($type);
+
         if (isset($this->cache[$type])) {
             return $this->cache[$type];
         }