From e2df4ecf201a089a568039e1c8447a2193ecf2fb Mon Sep 17 00:00:00 2001 From: Curtis Delicata Date: Sat, 20 Jul 2024 08:03:17 +0000 Subject: [PATCH] Fix PSR4 and resulting bugs --- app/Actions/Fortify/CreateNewUserWithTeams.php | 2 +- app/Actions/Jetstream/DeleteUserWithTeams.php | 2 +- app/Actions/Socialstream/CreateUserWithTeamsFromProvider.php | 2 +- app/Filament/App/Resources/ContentResource.php | 1 - app/Http/Controllers/ForgotPasswordController.php | 2 +- app/Http/Controllers/LoginController.php | 2 +- app/Http/Controllers/ResetPasswordController.php | 2 +- 7 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/Actions/Fortify/CreateNewUserWithTeams.php b/app/Actions/Fortify/CreateNewUserWithTeams.php index 9788471..8434913 100644 --- a/app/Actions/Fortify/CreateNewUserWithTeams.php +++ b/app/Actions/Fortify/CreateNewUserWithTeams.php @@ -10,7 +10,7 @@ use Laravel\Fortify\Contracts\CreatesNewUsers; use Laravel\Jetstream\Jetstream; -class CreateNewUser implements CreatesNewUsers +class CreateNewUserWithTeams implements CreatesNewUsers { use PasswordValidationRules; diff --git a/app/Actions/Jetstream/DeleteUserWithTeams.php b/app/Actions/Jetstream/DeleteUserWithTeams.php index 4b051af..2ed96a0 100644 --- a/app/Actions/Jetstream/DeleteUserWithTeams.php +++ b/app/Actions/Jetstream/DeleteUserWithTeams.php @@ -8,7 +8,7 @@ use Laravel\Jetstream\Contracts\DeletesTeams; use Laravel\Jetstream\Contracts\DeletesUsers; -class DeleteUser implements DeletesUsers +class DeleteUserWithTeams implements DeletesUsers { /** * Create a new action instance. diff --git a/app/Actions/Socialstream/CreateUserWithTeamsFromProvider.php b/app/Actions/Socialstream/CreateUserWithTeamsFromProvider.php index 0dc5b9e..0f6d49a 100644 --- a/app/Actions/Socialstream/CreateUserWithTeamsFromProvider.php +++ b/app/Actions/Socialstream/CreateUserWithTeamsFromProvider.php @@ -10,7 +10,7 @@ use JoelButcher\Socialstream\Socialstream; use Laravel\Socialite\Contracts\User as ProviderUserContract; -class CreateUserFromProvider implements CreatesUserFromProvider +class CreateUserWithTeamsFromProvider implements CreatesUserFromProvider { /** * The creates connected accounts instance. diff --git a/app/Filament/App/Resources/ContentResource.php b/app/Filament/App/Resources/ContentResource.php index ae8bf13..a38cafe 100644 --- a/app/Filament/App/Resources/ContentResource.php +++ b/app/Filament/App/Resources/ContentResource.php @@ -13,7 +13,6 @@ use Filament\Tables\Columns\ImageColumn; use Filament\Tables\Table; -#[Resource] class ContentResource extends Resource { protected static ?string $model = Content::class; diff --git a/app/Http/Controllers/ForgotPasswordController.php b/app/Http/Controllers/ForgotPasswordController.php index 4517a24..d02b6cd 100644 --- a/app/Http/Controllers/ForgotPasswordController.php +++ b/app/Http/Controllers/ForgotPasswordController.php @@ -6,7 +6,7 @@ use Illuminate\Support\Facades\Password; use Laravel\Jetstream\Http\Controllers\AuthenticatedSessionController; -class AdminForgotPasswordController extends AuthenticatedSessionController +class ForgotPasswordController extends AuthenticatedSessionController { public function showLinkRequestForm() { diff --git a/app/Http/Controllers/LoginController.php b/app/Http/Controllers/LoginController.php index 3cfdaa5..c317a22 100644 --- a/app/Http/Controllers/LoginController.php +++ b/app/Http/Controllers/LoginController.php @@ -5,7 +5,7 @@ use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; -class AdminLoginController extends Controller +class LoginController extends Controller { public function showLoginForm() { diff --git a/app/Http/Controllers/ResetPasswordController.php b/app/Http/Controllers/ResetPasswordController.php index 6919be2..f8846b8 100644 --- a/app/Http/Controllers/ResetPasswordController.php +++ b/app/Http/Controllers/ResetPasswordController.php @@ -9,7 +9,7 @@ use Illuminate\Support\Str; use Laravel\Jetstream\Http\Controllers\AuthenticatedSessionController; -class AdminResetPasswordController extends AuthenticatedSessionController +class ResetPasswordController extends AuthenticatedSessionController { public function showResetForm(Request $request, $token = null) {