Skip to content

Commit 9855dc4

Browse files
committed
fix camel case
1 parent 7a2b95b commit 9855dc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/panels/src/Auth/MultiFactor/GoogleTwoFactor/Actions/SetUpGoogleTwoFactorAuthenticationAction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static function make(GoogleTwoFactorAuthentication $googleTwoFactorAuthen
6060
Text::make(__('filament-panels::auth/multi-factor/google-two-factor/actions/set-up.modal.content.qr_code.instruction'))
6161
->color('neutral'),
6262
Image::make(
63-
url: fn (): string => $googleTwoFactorAuthentication->generateQRCodeDataUri(decrypt($action->getArguments()['encrypted'])['secret']),
63+
url: fn (): string => $googleTwoFactorAuthentication->generateQrCodeDataUri(decrypt($action->getArguments()['encrypted'])['secret']),
6464
alt: __('filament-panels::auth/multi-factor/google-two-factor/actions/set-up.modal.content.qr_code.alt'),
6565
)
6666
->imageHeight('12rem')

packages/panels/src/Auth/MultiFactor/GoogleTwoFactor/GoogleTwoFactorAuthentication.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function getCurrentCode(HasGoogleTwoFactorAuthentication $user, ?string $
119119
return $this->google2FA->getCurrentOtp($secret ?? $this->getSecret($user));
120120
}
121121

122-
public function generateQRCodeDataUri(string $secret): string
122+
public function generateQrCodeDataUri(string $secret): string
123123
{
124124
/** @var HasGoogleTwoFactorAuthentication $user */
125125
$user = Filament::auth()->user();

0 commit comments

Comments
 (0)