1
0
Fork 0
mirror of synced 2024-07-05 22:51:24 +12:00

chore: fix linter issues

This commit is contained in:
Torsten Dittmann 2024-01-08 12:54:39 +01:00
parent bbf6480c15
commit e4439b2ee2
2 changed files with 3 additions and 3 deletions

View file

@ -6,6 +6,6 @@ use Utopia\Database\Document;
abstract class Challenge
{
abstract static function verify(Document $user, string $otp): bool;
abstract static function challenge(Document $challenge, Document $user, string $otp): bool;
abstract public static function verify(Document $user, string $otp): bool;
abstract public static function challenge(Document $challenge, Document $user, string $otp): bool;
}

View file

@ -43,7 +43,7 @@ abstract class Provider
return $this->instance->getProvisioningUri();
}
static function generateBackupCodes(int $length = 6, int $total = 6): array
public static function generateBackupCodes(int $length = 6, int $total = 6): array
{
$backups = [];