فهرست منبع

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 سال پیش
والد
کامیت
aa4afbf49f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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'
             );