mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-30 12:06:59 +00:00
fix endroid qr provider handleErrorCorrectionLevel signature
This commit is contained in:
@@ -71,7 +71,7 @@ class EndroidQrCodeProvider implements IQRCodeProvider
|
||||
return $this->endroid4 ? new Color($r, $g, $b, 0) : array('r' => $r, 'g' => $g, 'b' => $b, 'a' => 0);
|
||||
}
|
||||
|
||||
private function handleErrorCorrectionLevel(string $level): string
|
||||
private function handleErrorCorrectionLevel(string $level): ErrorCorrectionLevel
|
||||
{
|
||||
switch ($level) {
|
||||
case 'L':
|
||||
|
||||
Reference in New Issue
Block a user