refactor: auto refactor via rector

This commit is contained in:
idevakk
2025-09-29 01:08:34 +05:30
parent 744e0bb9bb
commit 21664b1a3e
26 changed files with 55 additions and 68 deletions

View File

@@ -4,7 +4,7 @@ use App\Models\User;
use Laravel\Fortify\Features;
use Livewire\Livewire;
test('two factor challenge redirects to login when not authenticated', function () {
test('two factor challenge redirects to login when not authenticated', function (): void {
if (! Features::canManageTwoFactorAuthentication()) {
$this->markTestSkipped('Two-factor authentication is not enabled.');
}
@@ -14,7 +14,7 @@ test('two factor challenge redirects to login when not authenticated', function
$response->assertRedirect(route('login'));
});
test('two factor challenge can be rendered', function () {
test('two factor challenge can be rendered', function (): void {
if (! Features::canManageTwoFactorAuthentication()) {
$this->markTestSkipped('Two-factor authentication is not enabled.');
}