From ef0596b72943f7f10fff6a67a1ba95a4957ce1de Mon Sep 17 00:00:00 2001 From: Giovanni Date: Fri, 9 Oct 2026 20:42:34 +0200 Subject: [PATCH] fix namespace and use spelling mistake --- .../app/Http/Controllers/AuthController.php | 2 +- .../app/Http/Controllers/Controller.php | 2 +- .../app/Http/Controllers/EventsController.php | 10 +++--- .../app/Http/Controllers/ExportController.php | 4 +-- .../Controllers/NotificationsController.php | 2 +- .../app/Http/Controllers/SearchController.php | 2 +- .../app/Http/Controllers/TasksController.php | 26 +++++++-------- .../app/Http/Controllers/UserController.php | 32 +++++++++---------- .../app/Mail/CreateUserByAdminMail.php | 2 +- .../app/Mail/DeactivateAccountMail.php | 2 +- apps/backend/app/Mail/DeleteAccountMail.php | 2 +- .../app/Mail/EmailChangeConfirmedMail.php | 2 +- .../Mail/EventParticipationCancelledMail.php | 4 +-- .../app/Mail/NotifyEmailChangeMail.php | 2 +- apps/backend/app/Mail/RegisterMail.php | 2 +- .../app/Mail/RequestEmailChangeMail.php | 2 +- apps/backend/app/Mail/TaskDateUpdateMail.php | 2 +- .../Mail/TaskParticipationCancelledMail.php | 4 +-- apps/backend/app/Mail/UpdatePasswordMail.php | 2 +- apps/backend/app/Mail/UpdateRoleMail.php | 2 +- apps/backend/app/Mail/ValidateMail.php | 2 +- .../app/Mail/VolunteerAssignToTaskMail.php | 4 +-- .../app/Mail/VolunteerUnassignToTaskMail.php | 4 +-- apps/backend/app/Models/Event.php | 2 +- apps/backend/app/Models/Task.php | 2 +- apps/backend/app/Models/User.php | 4 +-- .../app/Notifications/EventDeleted.php | 4 +-- .../app/Notifications/TaskDateUpdated.php | 6 ++-- .../backend/app/Notifications/TaskDeleted.php | 6 ++-- .../app/Notifications/UserRegistered.php | 4 +-- .../Notifications/VolunteerAssignedToTask.php | 6 ++-- .../Notifications/VolunteerRoleUpdated.php | 2 +- .../VolunteerUnassignedFromTask.php | 6 ++-- apps/backend/app/Observers/EventObserver.php | 6 ++-- apps/backend/app/Observers/UserObserver.php | 6 ++-- apps/backend/app/Policies/EventsPolicy.php | 4 +-- apps/backend/app/Policies/TasksPolicy.php | 4 +-- apps/backend/app/Policies/UsersPolicy.php | 4 +-- .../app/Providers/AppServiceProvider.php | 10 +++--- .../Providers/BroadcastServiceProvider.php | 2 +- .../app/Providers/GateServiceProvider.php | 14 ++++---- apps/backend/app/Services/FormatDate.php | 2 +- apps/backend/app/Services/GetRole.php | 2 +- .../backend/app/Services/TypesenseService.php | 2 +- apps/backend/app/Services/UserService.php | 4 +-- .../database/factories/EventFactory.php | 4 +-- .../database/factories/UserFactory.php | 4 +-- .../2025_11_09_144248_create_tasks_table.php | 2 +- .../database/seeders/DatabaseSeeder.php | 2 +- apps/backend/database/seeders/DevSeeder.php | 2 +- apps/backend/database/seeders/ProdSeeder.php | 2 +- apps/backend/routes/api.php | 2 +- apps/backend/routes/auth.php | 4 +-- apps/backend/routes/events.php | 6 ++-- apps/backend/routes/notifications.php | 2 +- apps/backend/routes/users.php | 4 +-- 56 files changed, 127 insertions(+), 127 deletions(-) diff --git a/apps/backend/app/Http/Controllers/AuthController.php b/apps/backend/app/Http/Controllers/AuthController.php index 11a3297..f338768 100755 --- a/apps/backend/app/Http/Controllers/AuthController.php +++ b/apps/backend/app/Http/Controllers/AuthController.php @@ -1,6 +1,6 @@ post('/events/create', [EventsController::class, "create"]); diff --git a/apps/backend/routes/notifications.php b/apps/backend/routes/notifications.php index 3ad21f4..f72ce3c 100755 --- a/apps/backend/routes/notifications.php +++ b/apps/backend/routes/notifications.php @@ -1,6 +1,6 @@ get('/users/notifications', [NotificationsController::class, "getNotifications"]); diff --git a/apps/backend/routes/users.php b/apps/backend/routes/users.php index ee1e60e..97a97a0 100755 --- a/apps/backend/routes/users.php +++ b/apps/backend/routes/users.php @@ -1,7 +1,7 @@