From 6ca92ecb1186efb4f928a42db295fbd117190c14 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 29 Oct 2015 20:59:39 +0100 Subject: [PATCH] Reduce visibility of 'throttle(...)' method that wrongly was 'public' --- src/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.php b/src/Auth.php index 58e1f8a..0ffa8c6 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -745,7 +745,7 @@ class Auth { * @throws TooManyRequestsException if the number of allowed attempts/requests has been exceeded * @throws AuthError if an internal problem occurred (do *not* catch) */ - public function throttle($actionType, $customSelector = null) { + private function throttle($actionType, $customSelector = null) { // if a custom selector has been provided (e.g. username, user ID or confirmation token) if (isset($customSelector)) { // use the provided selector for throttling