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 { ...@@ -279,9 +279,9 @@ class Throttler {
* *
* @param string $ip * @param string $ip
* @param string $action * @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); $ipAddress = new IpAddress($ip);
if ($this->isIPWhitelisted((string)$ipAddress)) { if ($this->isIPWhitelisted((string)$ipAddress)) {
return; 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