Jelajahi Sumber

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 tahun lalu
induk
melakukan
aa4afbf49f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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'
             );