mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: fix linter issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user