Classes/Persistence/DatabaseHandler.php
Method logFailedAttempt
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function logFailedAttempt($authIdentifier, $hashedFailureValue, $type, $authKey, $timestamp = null)
{
if ($timestamp === null) {
$timestamp = time();
}
Method addBlockade
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function addBlockade($type, $authKey, $authIdentifier, $reason, $blockingPeriodInSeconds, $timestamp = null)
Method logFailedAttempt
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function logFailedAttempt($authIdentifier, $hashedFailureValue, $type, $authKey, $timestamp = null)