Skip to content
Snippets Groups Projects
Unverified Commit dfeee3b8 authored by Joas Schilling's avatar Joas Schilling
Browse files

Fix wrong doc + type hint

parent 8376c489
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment