Prechádzať 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 10 rokov pred
rodič
commit
aa4afbf49f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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'
             );