Skip to content

Commit 86bfc32

Browse files
committed
refactor: remove redundant docblocks
1 parent cba2e70 commit 86bfc32

4 files changed

Lines changed: 1 addition & 24 deletions

File tree

app/Http/Controllers/Settings/PasswordController.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,11 @@
1111

1212
class PasswordController extends Controller
1313
{
14-
/**
15-
* Show the user's password settings page.
16-
*/
1714
public function edit(): Response
1815
{
1916
return Inertia::render('settings/password');
2017
}
2118

22-
/**
23-
* Update the user's password.
24-
*/
2519
public function update(Request $request): RedirectResponse
2620
{
2721
$validated = $request->validate([

app/Http/Controllers/Settings/ProfileController.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
class ProfileController extends Controller
1515
{
16-
/**
17-
* Show the user's profile settings page.
18-
*/
1916
public function edit(Request $request): Response
2017
{
2118
return Inertia::render('settings/profile', [
@@ -24,9 +21,6 @@ public function edit(Request $request): Response
2421
]);
2522
}
2623

27-
/**
28-
* Update the user's profile settings.
29-
*/
3024
public function update(ProfileUpdateRequest $request): RedirectResponse
3125
{
3226
$request->user()?->fill($request->validated());
@@ -40,9 +34,6 @@ public function update(ProfileUpdateRequest $request): RedirectResponse
4034
return to_route('profile.edit');
4135
}
4236

43-
/**
44-
* Delete the user's account.
45-
*/
4637
public function destroy(Request $request): RedirectResponse
4738
{
4839
$request->validate([

app/Http/Controllers/Settings/TwoFactorAuthenticationController.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,13 @@
1212

1313
class TwoFactorAuthenticationController extends Controller implements HasMiddleware
1414
{
15-
/**
16-
* Get the middleware that should be assigned to the controller.
17-
*/
1815
public static function middleware(): array
1916
{
2017
return Features::optionEnabled(Features::twoFactorAuthentication(), 'confirmPassword')
2118
? [new Middleware('password.confirm', only: ['show'])]
2219
: [];
2320
}
2421

25-
/**
26-
* Show the user's two-factor authentication settings page.
27-
*/
2822
public function show(TwoFactorAuthenticationRequest $request): Response
2923
{
3024
$request->ensureStateIsValid();

app/Http/Middleware/HandleAppearance.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
class HandleAppearance
1111
{
1212
/**
13-
* Handle an incoming request.
14-
*
15-
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
13+
* @param Closure(Request): (Response) $next
1614
*/
1715
public function handle(Request $request, Closure $next): Response
1816
{

0 commit comments

Comments
 (0)