chore: fix linter issues
This commit is contained in:
parent
bbf6480c15
commit
e4439b2ee2
|
@ -6,6 +6,6 @@ use Utopia\Database\Document;
|
||||||
|
|
||||||
abstract class Challenge
|
abstract class Challenge
|
||||||
{
|
{
|
||||||
abstract static function verify(Document $user, string $otp): bool;
|
abstract public static function verify(Document $user, string $otp): bool;
|
||||||
abstract static function challenge(Document $challenge, Document $user, string $otp): bool;
|
abstract public static function challenge(Document $challenge, Document $user, string $otp): bool;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ abstract class Provider
|
||||||
return $this->instance->getProvisioningUri();
|
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 = [];
|
$backups = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue