diff options
author | Joas Schilling <coding@schilljs.com> | 2020-03-19 14:13:52 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-19 11:20:36 +0200 |
commit | dfeee3b85095c86f9077d00129d8717781f65c99 (patch) | |
tree | 14beb8a293051e52ab3f2c4f3d58fea497f1ecf2 /lib/private/Security | |
parent | 8376c4891f84d24469bd14b1462baf637862e922 (diff) | |
download | nextcloud-server-dfeee3b85095c86f9077d00129d8717781f65c99.tar.gz nextcloud-server-dfeee3b85095c86f9077d00129d8717781f65c99.zip |
Fix wrong doc + type hint
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Security')
-rw-r--r-- | lib/private/Security/Bruteforce/Throttler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Security/Bruteforce/Throttler.php b/lib/private/Security/Bruteforce/Throttler.php index 059f15e89fd..1e92eeed3b2 100644 --- a/lib/private/Security/Bruteforce/Throttler.php +++ b/lib/private/Security/Bruteforce/Throttler.php @@ -279,9 +279,9 @@ class Throttler { * * @param string $ip * @param string $action - * @param string $metadata + * @param array $metadata */ - public function resetDelay(string $ip, string $action, string $metadata): void { + public function resetDelay(string $ip, string $action, array $metadata): void { $ipAddress = new IpAddress($ip); if ($this->isIPWhitelisted((string)$ipAddress)) { return; |