Procházet zdrojové kódy

Updated AuthHelper to pass a null for maximum attempts to the IOInterface instead of false so an exception is not thrown by Symfony Question class.

Daum před 10 roky
rodič
revize
aa4afbf49f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Composer/Util/AuthHelper.php

+ 1 - 1
src/Composer/Util/AuthHelper.php

@@ -45,7 +45,7 @@ class AuthHelper
                     }
                     throw new \RuntimeException('Please answer (y)es or (n)o');
                 },
-                false,
+                null,
                 'y'
             );