From 77bafa4f90bcf17dd0077ab6dda9494425250b2e Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Wed, 22 Feb 2023 17:11:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=20pint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/Admin/All.php | 2 -- app/Console/Commands/Admin/Create.php | 2 -- app/Console/Commands/Admin/Delete.php | 2 -- app/Console/Commands/Admin/Reset.php | 2 -- app/Console/Commands/BanUser.php | 2 -- app/Console/Commands/CalcModule.php | 2 -- app/Console/Commands/Cluster/CleanOffline.php | 2 -- app/Console/Commands/Cluster/Monitor.php | 2 -- app/Console/Commands/Cluster/PublishEdge.php | 2 -- app/Console/Commands/Cluster/Restart.php | 2 -- app/Console/Commands/Cluster/Sync.php | 2 -- app/Console/Commands/Cluster/Upload.php | 2 -- app/Console/Commands/Cluster/Weight.php | 2 -- app/Console/Commands/Cluster/Work.php | 2 -- app/Console/Commands/Count.php | 2 -- app/Console/Commands/GetUser.php | 2 -- app/Console/Commands/HostCost.php | 2 -- app/Console/Commands/ReduceBalance.php | 2 -- app/Console/Commands/Status.php | 2 -- app/Console/Commands/SuspendUserAllHosts.php | 2 -- app/Console/Commands/Test.php | 2 -- app/Console/Commands/UnbanUser.php | 2 -- app/Console/Commands/UserAddBalance.php | 2 -- app/Console/Kernel.php | 5 --- app/Events/Tasks.php | 2 -- app/Exceptions/Handler.php | 2 -- app/Helpers/Auth/AuthenticatesUsers.php | 30 ----------------- app/Helpers/Auth/ConfirmsPasswords.php | 12 ------- app/Helpers/Auth/RedirectsUsers.php | 2 -- app/Helpers/Auth/RegistersUsers.php | 11 ------- app/Helpers/Auth/ResetsPasswords.php | 33 ------------------- app/Helpers/Auth/SendsPasswordResetEmails.php | 20 ----------- app/Helpers/Auth/ThrottlesLogins.php | 23 ------------- app/Helpers/Auth/VerifiesEmails.php | 11 ------- .../Controllers/Admin/AdminController.php | 17 ---------- .../Admin/ApplicationController.php | 20 ----------- app/Http/Controllers/Admin/AuthController.php | 10 ------ app/Http/Controllers/Admin/HostController.php | 14 -------- .../Admin/MaintenanceController.php | 17 ---------- .../Controllers/Admin/ModuleController.php | 21 ------------ app/Http/Controllers/Admin/NodeController.php | 6 ---- .../Admin/NotificationController.php | 6 ---- .../Controllers/Admin/ReplyController.php | 17 ---------- app/Http/Controllers/Admin/UserController.php | 13 -------- .../Controllers/Admin/UserGroupController.php | 20 ----------- .../Controllers/Admin/WorkOrderController.php | 17 ---------- .../Controllers/Api/BalanceController.php | 8 ----- app/Http/Controllers/Api/ReplyController.php | 7 ---- .../Controllers/Module/HostController.php | 11 ------- .../Controllers/Module/ReplyController.php | 3 -- .../Controllers/Module/TaskController.php | 8 ----- .../Web/Auth/ConfirmPasswordController.php | 2 -- .../Controllers/Web/Auth/LoginController.php | 2 -- .../Web/Auth/RegisterController.php | 8 ----- .../Web/Auth/ResetPasswordController.php | 2 -- .../Web/Auth/VerificationController.php | 2 -- .../Controllers/Web/BalanceController.php | 1 - app/Http/Controllers/Web/HostController.php | 5 --- app/Http/Middleware/AddHeaders.php | 4 --- app/Http/Middleware/Admin/ValidateReferer.php | 2 -- app/Http/Middleware/Authenticate.php | 1 - app/Http/Middleware/JsonRequest.php | 2 -- .../Middleware/MakeSureModuleStatusIsUp.php | 4 --- app/Http/Middleware/RealNamed.php | 5 --- .../Middleware/RedirectIfAuthenticated.php | 2 -- .../Middleware/ReportRequestToCluster.php | 2 -- app/Http/Middleware/TrustedDomain.php | 2 -- app/Http/Middleware/ValidateUserIfBanned.php | 4 --- .../Requests/Remote/Server/StatusRequest.php | 2 -- app/Http/Requests/Remote/WorkOrderRequest.php | 2 -- app/Http/Requests/User/HostRequest.php | 2 -- .../User/WorkOrder/WorkOrderRequest.php | 2 -- app/Jobs/Host/DeleteHostJob.php | 2 -- app/Jobs/Host/DispatchHostCostQueueJob.php | 2 -- app/Jobs/Host/HostJob.php | 1 - app/Jobs/Host/PushHostJob.php | 2 -- app/Jobs/Host/ScanAllHostsJob.php | 2 -- app/Jobs/Host/SendRenewNotificationJob.php | 2 -- app/Jobs/Host/UpdateOrDeleteHostJob.php | 2 -- app/Jobs/Module/DispatchFetchModuleJob.php | 2 -- app/Jobs/Module/SendModuleEarningsJob.php | 2 -- app/Jobs/Support/EMQXKickClientJob.php | 2 -- app/Jobs/User/CheckAndChargeBalanceJob.php | 2 -- app/Jobs/User/ClearTasksJob.php | 2 -- app/Jobs/User/RollbackUserTempGroupJob.php | 2 -- app/Jobs/User/SendUserNotificationsJob.php | 2 -- app/Jobs/User/SetBirthdayGroupJob.php | 2 -- app/Jobs/WorkOrder/AutoCloseWorkOrderJob.php | 2 -- app/Jobs/WorkOrder/PushWorkOrderJob.php | 2 -- app/Jobs/WorkOrder/Reply.php | 2 -- app/Jobs/WorkOrder/WorkOrder.php | 2 -- app/Models/Module.php | 19 ----------- app/Models/PersonalAccessToken.php | 3 -- app/Models/User.php | 14 -------- app/Models/UserGroup.php | 5 --- app/Notifications/Channels/WeComChannel.php | 4 --- app/Notifications/Channels/WebChannel.php | 4 --- .../User/TodayIsUserBirthday.php | 9 ----- app/Notifications/User/UserCharged.php | 3 -- app/Notifications/User/UserNotification.php | 6 ---- app/Notifications/WebNotification.php | 4 --- app/Notifications/WorkOrder/WorkOrder.php | 12 ------- app/Observers/HostObserver.php | 9 ----- app/Policies/WorkOrder/ReplyPolicy.php | 12 ------- app/Policies/WorkOrder/WorkOrderPolicy.php | 12 ------- app/Providers/AppServiceProvider.php | 4 --- app/Providers/AuthServiceProvider.php | 2 -- app/Providers/BroadcastServiceProvider.php | 2 -- app/Providers/EventServiceProvider.php | 4 --- app/Providers/RouteServiceProvider.php | 4 --- app/Rules/Domain.php | 3 -- app/Support/ClusterSupport.php | 1 - app/Support/RealNameSupport.php | 9 ----- app/View/Components/Alert.php | 2 -- app/View/Components/AlertDanger.php | 2 -- app/View/Components/AlertInfo.php | 2 -- app/View/Components/AlertSuccess.php | 2 -- app/View/Components/AlertWarning.php | 2 -- app/View/Components/BasicCard.php | 2 -- app/View/Components/BillingCycle.php | 2 -- app/View/Components/HostStatus.php | 2 -- app/View/Components/ModuleEarning.php | 2 -- app/View/Components/ModuleScript.php | 2 -- app/View/Components/ModuleStatus.php | 2 -- app/View/Components/Payment.php | 2 -- app/View/Components/WorkOrderStatus.php | 2 -- database/factories/UserFactory.php | 2 -- .../2014_10_12_000000_create_users_table.php | 4 --- ...12_000001_create_password_resets_table.php | 4 --- .../2023_02_02_000000_create_admins_table.php | 4 --- ...02_02_000000_create_applications_table.php | 4 --- ...023_02_02_000000_create_balances_table.php | 4 --- ...2023_02_02_000001_create_modules_table.php | 4 --- ...2_02_000002_create_module_allows_table.php | 4 --- .../2023_02_02_000003_create_hosts_table.php | 4 --- .../2023_02_02_195733_create_tasks_table.php | 4 --- ..._02_02_195733_create_user_groups_table.php | 4 --- ..._02_02_195733_create_work_orders_table.php | 4 --- ...195734_create_work_order_replies_table.php | 4 --- ...07_012306_add_ip_port_to_modules_table.php | 4 --- ...21_set_host_id_nullable_to_tasks_table.php | 4 --- ...33014_add_billing_cycle_to_hosts_table.php | 4 --- ...13_161436_add_last_paid_to_hosts_table.php | 4 --- ...02_17_142300_create_maintenances_table.php | 4 --- ...9_235923_remove_cycle_billing_to_hosts.php | 4 --- database/seeders/DatabaseSeeder.php | 2 -- 146 files changed, 754 deletions(-) diff --git a/app/Console/Commands/Admin/All.php b/app/Console/Commands/Admin/All.php index 299350a..17992df 100644 --- a/app/Console/Commands/Admin/All.php +++ b/app/Console/Commands/Admin/All.php @@ -24,8 +24,6 @@ class All extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Admin/Create.php b/app/Console/Commands/Admin/Create.php index fc78692..0b3befc 100644 --- a/app/Console/Commands/Admin/Create.php +++ b/app/Console/Commands/Admin/Create.php @@ -24,8 +24,6 @@ class Create extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Admin/Delete.php b/app/Console/Commands/Admin/Delete.php index 484ef23..eff1c49 100644 --- a/app/Console/Commands/Admin/Delete.php +++ b/app/Console/Commands/Admin/Delete.php @@ -24,8 +24,6 @@ class Delete extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Admin/Reset.php b/app/Console/Commands/Admin/Reset.php index 606714d..460447e 100644 --- a/app/Console/Commands/Admin/Reset.php +++ b/app/Console/Commands/Admin/Reset.php @@ -24,8 +24,6 @@ class Reset extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/BanUser.php b/app/Console/Commands/BanUser.php index 18f1ff4..141f5e9 100644 --- a/app/Console/Commands/BanUser.php +++ b/app/Console/Commands/BanUser.php @@ -33,8 +33,6 @@ public function __construct() /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/CalcModule.php b/app/Console/Commands/CalcModule.php index b3f5d0f..29270a0 100644 --- a/app/Console/Commands/CalcModule.php +++ b/app/Console/Commands/CalcModule.php @@ -33,8 +33,6 @@ public function __construct() /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/CleanOffline.php b/app/Console/Commands/Cluster/CleanOffline.php index 54d46c2..c148949 100644 --- a/app/Console/Commands/Cluster/CleanOffline.php +++ b/app/Console/Commands/Cluster/CleanOffline.php @@ -24,8 +24,6 @@ class CleanOffline extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/Monitor.php b/app/Console/Commands/Cluster/Monitor.php index 2fe642e..753f97c 100644 --- a/app/Console/Commands/Cluster/Monitor.php +++ b/app/Console/Commands/Cluster/Monitor.php @@ -24,8 +24,6 @@ class Monitor extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/PublishEdge.php b/app/Console/Commands/Cluster/PublishEdge.php index 5b36fa3..f6e730f 100644 --- a/app/Console/Commands/Cluster/PublishEdge.php +++ b/app/Console/Commands/Cluster/PublishEdge.php @@ -24,8 +24,6 @@ class PublishEdge extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/Restart.php b/app/Console/Commands/Cluster/Restart.php index cfaf2ce..8283e31 100644 --- a/app/Console/Commands/Cluster/Restart.php +++ b/app/Console/Commands/Cluster/Restart.php @@ -24,8 +24,6 @@ class Restart extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/Sync.php b/app/Console/Commands/Cluster/Sync.php index 6c32bf3..df7140d 100644 --- a/app/Console/Commands/Cluster/Sync.php +++ b/app/Console/Commands/Cluster/Sync.php @@ -27,8 +27,6 @@ class Sync extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/Upload.php b/app/Console/Commands/Cluster/Upload.php index 4baaf86..261a4a0 100644 --- a/app/Console/Commands/Cluster/Upload.php +++ b/app/Console/Commands/Cluster/Upload.php @@ -26,8 +26,6 @@ class Upload extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/Weight.php b/app/Console/Commands/Cluster/Weight.php index 12a780e..bb7b988 100644 --- a/app/Console/Commands/Cluster/Weight.php +++ b/app/Console/Commands/Cluster/Weight.php @@ -24,8 +24,6 @@ class Weight extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Cluster/Work.php b/app/Console/Commands/Cluster/Work.php index dd8d789..80da1e0 100644 --- a/app/Console/Commands/Cluster/Work.php +++ b/app/Console/Commands/Cluster/Work.php @@ -28,8 +28,6 @@ class Work extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Count.php b/app/Console/Commands/Count.php index 7f2da61..f1ca320 100644 --- a/app/Console/Commands/Count.php +++ b/app/Console/Commands/Count.php @@ -38,8 +38,6 @@ public function __construct() /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/GetUser.php b/app/Console/Commands/GetUser.php index d470fc8..34e99c0 100644 --- a/app/Console/Commands/GetUser.php +++ b/app/Console/Commands/GetUser.php @@ -35,8 +35,6 @@ public function __construct() /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/HostCost.php b/app/Console/Commands/HostCost.php index 652f6b0..651a18d 100644 --- a/app/Console/Commands/HostCost.php +++ b/app/Console/Commands/HostCost.php @@ -24,8 +24,6 @@ class HostCost extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/ReduceBalance.php b/app/Console/Commands/ReduceBalance.php index 0068d80..5c3fc8b 100644 --- a/app/Console/Commands/ReduceBalance.php +++ b/app/Console/Commands/ReduceBalance.php @@ -34,8 +34,6 @@ public function __construct() /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/Status.php b/app/Console/Commands/Status.php index b9a9e6b..c2d7574 100644 --- a/app/Console/Commands/Status.php +++ b/app/Console/Commands/Status.php @@ -34,8 +34,6 @@ public function __construct() /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/SuspendUserAllHosts.php b/app/Console/Commands/SuspendUserAllHosts.php index 06bc24d..142c463 100644 --- a/app/Console/Commands/SuspendUserAllHosts.php +++ b/app/Console/Commands/SuspendUserAllHosts.php @@ -33,8 +33,6 @@ public function __construct() /** * Execute the console command. - * - * @return void */ public function handle(): void { diff --git a/app/Console/Commands/Test.php b/app/Console/Commands/Test.php index 3d3b8b5..8879614 100644 --- a/app/Console/Commands/Test.php +++ b/app/Console/Commands/Test.php @@ -26,8 +26,6 @@ class Test extends Command /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Commands/UnbanUser.php b/app/Console/Commands/UnbanUser.php index 78b2e36..b8ef922 100644 --- a/app/Console/Commands/UnbanUser.php +++ b/app/Console/Commands/UnbanUser.php @@ -33,8 +33,6 @@ public function __construct() /** * Execute the console command. - * - * @return void */ public function handle(): void { diff --git a/app/Console/Commands/UserAddBalance.php b/app/Console/Commands/UserAddBalance.php index 251f906..627c217 100644 --- a/app/Console/Commands/UserAddBalance.php +++ b/app/Console/Commands/UserAddBalance.php @@ -34,8 +34,6 @@ public function __construct() /** * Execute the console command. - * - * @return int */ public function handle(): int { diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index cb0beb5..2656775 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -21,9 +21,6 @@ class Kernel extends ConsoleKernel { /** * Define the application's command schedule. - * - * @param Schedule $schedule - * @return void */ protected function schedule(Schedule $schedule): void { @@ -68,8 +65,6 @@ protected function schedule(Schedule $schedule): void /** * Register the commands for the application. - * - * @return void */ protected function commands(): void { diff --git a/app/Events/Tasks.php b/app/Events/Tasks.php index 83301cb..7e3dd44 100644 --- a/app/Events/Tasks.php +++ b/app/Events/Tasks.php @@ -14,8 +14,6 @@ class Tasks /** * Get the channels the event should broadcast on. - * - * @return Channel|PrivateChannel */ public function broadcastOn(): Channel|PrivateChannel { diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 9ed93af..d7358f5 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -68,8 +68,6 @@ public function register(): void * Convert an authentication exception into an unauthenticated response. * * @param Request $request - * @param AuthenticationException $exception - * @return JsonResponse|RedirectResponse */ protected function unauthenticated($request, AuthenticationException $exception): JsonResponse|RedirectResponse { diff --git a/app/Helpers/Auth/AuthenticatesUsers.php b/app/Helpers/Auth/AuthenticatesUsers.php index c2eca13..dd8a703 100644 --- a/app/Helpers/Auth/AuthenticatesUsers.php +++ b/app/Helpers/Auth/AuthenticatesUsers.php @@ -17,8 +17,6 @@ trait AuthenticatesUsers /** * Show the application's login form. - * - * @return View */ public function showLoginForm(): View { @@ -28,8 +26,6 @@ public function showLoginForm(): View /** * Handle a login request to the application. * - * @param Request $request - * @return Response * * @throws ValidationException */ @@ -66,8 +62,6 @@ public function login(Request $request): Response /** * Validate the user login request. * - * @param Request $request - * @return void * * @throws ValidationException */ @@ -81,8 +75,6 @@ protected function validateLogin(Request $request): void /** * Get the login username to be used by the controller. - * - * @return string */ public function username(): string { @@ -91,9 +83,6 @@ public function username(): string /** * Attempt to log the user into the application. - * - * @param Request $request - * @return bool */ protected function attemptLogin(Request $request): bool { @@ -104,8 +93,6 @@ protected function attemptLogin(Request $request): bool /** * Get the guard to be used during authentication. - * - * @return StatefulGuard */ protected function guard(): StatefulGuard { @@ -114,9 +101,6 @@ protected function guard(): StatefulGuard /** * Get the needed authorization credentials from the request. - * - * @param Request $request - * @return array */ protected function credentials(Request $request): array { @@ -125,9 +109,6 @@ protected function credentials(Request $request): array /** * Send the response after the user was authenticated. - * - * @param Request $request - * @return JsonResponse|RedirectResponse */ protected function sendLoginResponse(Request $request): JsonResponse|RedirectResponse { @@ -148,7 +129,6 @@ protected function sendLoginResponse(Request $request): JsonResponse|RedirectRes * Get the failed login response instance. * * - * @return Response * * @throws ValidationException */ @@ -161,9 +141,6 @@ protected function sendFailedLoginResponse(): Response /** * Log the user out of the application. - * - * @param Request $request - * @return RedirectResponse|JsonResponse */ public function logout(Request $request): JsonResponse|RedirectResponse { @@ -184,10 +161,6 @@ public function logout(Request $request): JsonResponse|RedirectResponse /** * The user has been authenticated. - * - * @param Request $request - * @param mixed $user - * @return void */ protected function authenticated(Request $request, mixed $user): void { @@ -196,9 +169,6 @@ protected function authenticated(Request $request, mixed $user): void /** * The user has logged out of the application. - * - * @param Request $request - * @return void */ protected function loggedOut(Request $request): void { diff --git a/app/Helpers/Auth/ConfirmsPasswords.php b/app/Helpers/Auth/ConfirmsPasswords.php index 3d2ad47..0114250 100644 --- a/app/Helpers/Auth/ConfirmsPasswords.php +++ b/app/Helpers/Auth/ConfirmsPasswords.php @@ -13,8 +13,6 @@ trait ConfirmsPasswords /** * Display the password confirmation view. - * - * @return View */ public function showConfirmForm(): View { @@ -23,9 +21,6 @@ public function showConfirmForm(): View /** * Confirm the given user's password. - * - * @param Request $request - * @return RedirectResponse|JsonResponse */ public function confirm(Request $request): JsonResponse|RedirectResponse { @@ -40,8 +35,6 @@ public function confirm(Request $request): JsonResponse|RedirectResponse /** * Get the password confirmation validation rules. - * - * @return array */ protected function rules(): array { @@ -52,8 +45,6 @@ protected function rules(): array /** * Get the password confirmation validation error messages. - * - * @return array */ protected function validationErrorMessages(): array { @@ -62,9 +53,6 @@ protected function validationErrorMessages(): array /** * Reset the password confirmation timeout. - * - * @param Request $request - * @return void */ protected function resetPasswordConfirmationTimeout(Request $request): void { diff --git a/app/Helpers/Auth/RedirectsUsers.php b/app/Helpers/Auth/RedirectsUsers.php index 76b79ad..8cc43ad 100644 --- a/app/Helpers/Auth/RedirectsUsers.php +++ b/app/Helpers/Auth/RedirectsUsers.php @@ -6,8 +6,6 @@ trait RedirectsUsers { /** * Get the post register / login redirect path. - * - * @return string */ public function redirectPath(): string { diff --git a/app/Helpers/Auth/RegistersUsers.php b/app/Helpers/Auth/RegistersUsers.php index 05c292d..8f636e6 100644 --- a/app/Helpers/Auth/RegistersUsers.php +++ b/app/Helpers/Auth/RegistersUsers.php @@ -16,8 +16,6 @@ trait RegistersUsers /** * Show the application registration form. - * - * @return View */ public function showRegistrationForm(): View { @@ -26,9 +24,6 @@ public function showRegistrationForm(): View /** * Handle a registration request for the application. - * - * @param Request $request - * @return RedirectResponse|JsonResponse */ public function register(Request $request): JsonResponse|RedirectResponse { @@ -49,8 +44,6 @@ public function register(Request $request): JsonResponse|RedirectResponse /** * Get the guard to be used during registration. - * - * @return StatefulGuard */ protected function guard(): StatefulGuard { @@ -59,10 +52,6 @@ protected function guard(): StatefulGuard /** * The user has been registered. - * - * @param Request $request - * @param mixed $user - * @return void */ protected function registered(Request $request, mixed $user): void { diff --git a/app/Helpers/Auth/ResetsPasswords.php b/app/Helpers/Auth/ResetsPasswords.php index 500b089..8c72429 100644 --- a/app/Helpers/Auth/ResetsPasswords.php +++ b/app/Helpers/Auth/ResetsPasswords.php @@ -27,9 +27,6 @@ trait ResetsPasswords * Display the password reset view for the given token. * * If no token is present, display the link request form. - * - * @param Request $request - * @return Factory|View */ public function showResetForm(Request $request): Factory|View { @@ -42,9 +39,6 @@ public function showResetForm(Request $request): Factory|View /** * Reset the given user's password. - * - * @param Request $request - * @return RedirectResponse|JsonResponse */ public function reset(Request $request): JsonResponse|RedirectResponse { @@ -74,8 +68,6 @@ public function reset(Request $request): JsonResponse|RedirectResponse /** * Get the password reset validation rules. - * - * @return array */ protected function rules(): array { @@ -88,8 +80,6 @@ protected function rules(): array /** * Get the password reset validation error messages. - * - * @return array */ protected function validationErrorMessages(): array { @@ -98,8 +88,6 @@ protected function validationErrorMessages(): array /** * Get the broker to be used during password reset. - * - * @return PasswordBroker */ public function broker(): PasswordBroker { @@ -108,9 +96,6 @@ public function broker(): PasswordBroker /** * Get the password reset credentials from the request. - * - * @param Request $request - * @return array */ protected function credentials(Request $request): array { @@ -121,10 +106,6 @@ protected function credentials(Request $request): array /** * Reset the given user's password. - * - * @param CanResetPassword|User $user - * @param string $password - * @return void */ protected function resetPassword(CanResetPassword|User $user, string $password): void { @@ -141,10 +122,6 @@ protected function resetPassword(CanResetPassword|User $user, string $password): /** * Set the user's password. - * - * @param CanResetPassword $user - * @param string $password - * @return void */ protected function setUserPassword(CanResetPassword $user, string $password): void { @@ -156,8 +133,6 @@ protected function setUserPassword(CanResetPassword $user, string $password): vo /** * Get the guard to be used during password reset. - * - * @return StatefulGuard */ protected function guard(): StatefulGuard { @@ -166,10 +141,6 @@ protected function guard(): StatefulGuard /** * Get the response for a successful password reset. - * - * @param Request $request - * @param string $response - * @return RedirectResponse|JsonResponse */ protected function sendResetResponse(Request $request, string $response): JsonResponse|RedirectResponse { @@ -183,10 +154,6 @@ protected function sendResetResponse(Request $request, string $response): JsonRe /** * Get the response for a failed password reset. - * - * @param Request $request - * @param string $response - * @return RedirectResponse */ protected function sendResetFailedResponse(Request $request, string $response): RedirectResponse { diff --git a/app/Helpers/Auth/SendsPasswordResetEmails.php b/app/Helpers/Auth/SendsPasswordResetEmails.php index 351166b..223824f 100644 --- a/app/Helpers/Auth/SendsPasswordResetEmails.php +++ b/app/Helpers/Auth/SendsPasswordResetEmails.php @@ -14,8 +14,6 @@ trait SendsPasswordResetEmails { /** * Display the form to request a password reset link. - * - * @return View */ public function showLinkRequestForm(): View { @@ -24,9 +22,6 @@ public function showLinkRequestForm(): View /** * Send a reset link to the given user. - * - * @param Request $request - * @return RedirectResponse|JsonResponse */ public function sendResetLinkEmail(Request $request): JsonResponse|RedirectResponse { @@ -46,9 +41,6 @@ public function sendResetLinkEmail(Request $request): JsonResponse|RedirectRespo /** * Validate the email for the given request. - * - * @param Request $request - * @return void */ protected function validateEmail(Request $request): void { @@ -57,8 +49,6 @@ protected function validateEmail(Request $request): void /** * Get the broker to be used during password reset. - * - * @return PasswordBroker */ public function broker(): PasswordBroker { @@ -67,9 +57,6 @@ public function broker(): PasswordBroker /** * Get the needed authentication credentials from the request. - * - * @param Request $request - * @return array */ protected function credentials(Request $request): array { @@ -78,10 +65,6 @@ protected function credentials(Request $request): array /** * Get the response for a successful password reset link. - * - * @param Request $request - * @param string $response - * @return RedirectResponse|JsonResponse */ protected function sendResetLinkResponse(Request $request, string $response): JsonResponse|RedirectResponse { @@ -93,9 +76,6 @@ protected function sendResetLinkResponse(Request $request, string $response): Js /** * Get the response for a failed password reset link. * - * @param Request $request - * @param string $response - * @return RedirectResponse * * @throws ValidationException */ diff --git a/app/Helpers/Auth/ThrottlesLogins.php b/app/Helpers/Auth/ThrottlesLogins.php index d32b016..16d0cc8 100644 --- a/app/Helpers/Auth/ThrottlesLogins.php +++ b/app/Helpers/Auth/ThrottlesLogins.php @@ -13,9 +13,6 @@ trait ThrottlesLogins { /** * Determine if the user has too many failed login attempts. - * - * @param Request $request - * @return bool */ protected function hasTooManyLoginAttempts(Request $request): bool { @@ -26,8 +23,6 @@ protected function hasTooManyLoginAttempts(Request $request): bool /** * Get the rate limiter instance. - * - * @return RateLimiter */ protected function limiter(): RateLimiter { @@ -36,9 +31,6 @@ protected function limiter(): RateLimiter /** * Get the throttle key for the given request. - * - * @param Request $request - * @return string */ protected function throttleKey(Request $request): string { @@ -47,8 +39,6 @@ protected function throttleKey(Request $request): string /** * Get the maximum number of attempts to allow. - * - * @return int */ public function maxAttempts(): int { @@ -57,9 +47,6 @@ public function maxAttempts(): int /** * Increment the login attempts for the user. - * - * @param Request $request - * @return void */ protected function incrementLoginAttempts(Request $request): void { @@ -70,8 +57,6 @@ protected function incrementLoginAttempts(Request $request): void /** * Get the number of minutes to throttle for. - * - * @return int */ public function decayMinutes(): int { @@ -81,8 +66,6 @@ public function decayMinutes(): int /** * Redirect the user after determining they are locked out. * - * @param Request $request - * @return ResponseAlias * * @throws ValidationException */ @@ -102,9 +85,6 @@ protected function sendLockoutResponse(Request $request): ResponseAlias /** * Clear the login locks for the given user credentials. - * - * @param Request $request - * @return void */ protected function clearLoginAttempts(Request $request): void { @@ -113,9 +93,6 @@ protected function clearLoginAttempts(Request $request): void /** * Fire an event when a lockout occurs. - * - * @param Request $request - * @return void */ protected function fireLockoutEvent(Request $request): void { diff --git a/app/Helpers/Auth/VerifiesEmails.php b/app/Helpers/Auth/VerifiesEmails.php index 40ff9b1..c0ffc12 100644 --- a/app/Helpers/Auth/VerifiesEmails.php +++ b/app/Helpers/Auth/VerifiesEmails.php @@ -15,9 +15,6 @@ trait VerifiesEmails /** * Show the email verification notice. - * - * @param Request $request - * @return RedirectResponse|View */ public function show(Request $request): View|RedirectResponse { @@ -29,8 +26,6 @@ public function show(Request $request): View|RedirectResponse /** * Mark the authenticated user's email address as verified. * - * @param Request $request - * @return JsonResponse|RedirectResponse * * @throws AuthorizationException */ @@ -65,9 +60,6 @@ public function verify(Request $request): JsonResponse|RedirectResponse /** * Resend the email verification notification. - * - * @param Request $request - * @return JsonResponse|RedirectResponse */ public function resend(Request $request): JsonResponse|RedirectResponse { @@ -86,9 +78,6 @@ public function resend(Request $request): JsonResponse|RedirectResponse /** * The user has been verified. - * - * @param Request $request - * @return void */ protected function verified(Request $request): void { diff --git a/app/Http/Controllers/Admin/AdminController.php b/app/Http/Controllers/Admin/AdminController.php index 1a95e4c..b5a4d83 100644 --- a/app/Http/Controllers/Admin/AdminController.php +++ b/app/Http/Controllers/Admin/AdminController.php @@ -13,8 +13,6 @@ class AdminController extends Controller { /** * Display a listing of the resource. - * - * @return View */ public function index(): View { @@ -25,9 +23,6 @@ public function index(): View /** * Store a newly created resource in storage. - * - * @param Request $request - * @return RedirectResponse */ public function store(Request $request): RedirectResponse { @@ -49,8 +44,6 @@ public function store(Request $request): RedirectResponse /** * Show the form for creating a new resource. - * - * @return View */ public function create(): View { @@ -59,9 +52,6 @@ public function create(): View /** * Show the form for editing the specified resource. - * - * @param Admin $admin - * @return View */ public function edit(Admin $admin): View { @@ -70,10 +60,6 @@ public function edit(Admin $admin): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param Admin $admin - * @return RedirectResponse */ public function update(Request $request, Admin $admin): RedirectResponse { @@ -105,9 +91,6 @@ public function update(Request $request, Admin $admin): RedirectResponse /** * Remove the specified resource from storage. - * - * @param Admin $admin - * @return RedirectResponse */ public function destroy(Admin $admin): RedirectResponse { diff --git a/app/Http/Controllers/Admin/ApplicationController.php b/app/Http/Controllers/Admin/ApplicationController.php index 028710d..bae0ed0 100644 --- a/app/Http/Controllers/Admin/ApplicationController.php +++ b/app/Http/Controllers/Admin/ApplicationController.php @@ -12,8 +12,6 @@ class ApplicationController extends Controller { /** * Display a listing of the resource. - * - * @return View */ public function index(): View { @@ -24,9 +22,6 @@ public function index(): View /** * Store a newly created resource in storage. - * - * @param Request $request - * @return View */ public function store(Request $request): View { @@ -43,8 +38,6 @@ public function store(Request $request): View /** * Show the form for creating a new resource. - * - * @return View */ public function create(): View { @@ -53,9 +46,6 @@ public function create(): View /** * Display the specified resource. - * - * @param Application $application - * @return RedirectResponse */ public function show(Application $application): RedirectResponse { @@ -64,9 +54,6 @@ public function show(Application $application): RedirectResponse /** * Show the form for editing the specified resource. - * - * @param Application $application - * @return View */ public function edit(Application $application): View { @@ -75,10 +62,6 @@ public function edit(Application $application): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param Application $application - * @return RedirectResponse */ public function update(Request $request, Application $application): RedirectResponse { @@ -95,9 +78,6 @@ public function update(Request $request, Application $application): RedirectResp /** * Remove the specified resource from storage. - * - * @param Application $application - * @return RedirectResponse */ public function destroy(Application $application): RedirectResponse { diff --git a/app/Http/Controllers/Admin/AuthController.php b/app/Http/Controllers/Admin/AuthController.php index 9613d3f..9b1ee2a 100644 --- a/app/Http/Controllers/Admin/AuthController.php +++ b/app/Http/Controllers/Admin/AuthController.php @@ -9,9 +9,6 @@ class AuthController extends Controller { - /** - * @return View|RedirectResponse - */ public function index(): View|RedirectResponse { if (! auth('admin')->check()) { @@ -21,10 +18,6 @@ public function index(): View|RedirectResponse } } - /** - * @param Request $request - * @return RedirectResponse - */ public function login(Request $request): RedirectResponse { if (auth('admin')->attempt($request->only('email', 'password'), $request->has('remember'))) { @@ -34,9 +27,6 @@ public function login(Request $request): RedirectResponse } } - /** - * @return RedirectResponse - */ public function logout(): RedirectResponse { auth('admin')->logout(); diff --git a/app/Http/Controllers/Admin/HostController.php b/app/Http/Controllers/Admin/HostController.php index dac0577..0fa638c 100644 --- a/app/Http/Controllers/Admin/HostController.php +++ b/app/Http/Controllers/Admin/HostController.php @@ -12,10 +12,6 @@ class HostController extends Controller { /** * Display a listing of the resource. - * - * - * @param Request $request - * @return View */ public function index(Request $request): View { @@ -37,9 +33,6 @@ public function index(Request $request): View /** * Show the form for editing the specified resource. - * - * @param Host $host - * @return View */ public function edit(Host $host): View { @@ -48,10 +41,6 @@ public function edit(Host $host): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param Host $host - * @return RedirectResponse */ public function update(Request $request, Host $host): RedirectResponse { @@ -69,9 +58,6 @@ public function update(Request $request, Host $host): RedirectResponse /** * Remove the specified resource from storage. - * - * @param Host $host - * @return RedirectResponse */ public function destroy(Host $host): RedirectResponse { diff --git a/app/Http/Controllers/Admin/MaintenanceController.php b/app/Http/Controllers/Admin/MaintenanceController.php index 1146a29..247cb2e 100644 --- a/app/Http/Controllers/Admin/MaintenanceController.php +++ b/app/Http/Controllers/Admin/MaintenanceController.php @@ -13,8 +13,6 @@ class MaintenanceController extends Controller { /** * Display a listing of the resource. - * - * @return View */ public function index(): View { @@ -25,9 +23,6 @@ public function index(): View /** * Store a newly created resource in storage. - * - * @param Request $request - * @return RedirectResponse */ public function store(Request $request): RedirectResponse { @@ -46,8 +41,6 @@ public function store(Request $request): RedirectResponse /** * Show the form for creating a new resource. - * - * @return View */ public function create(): View { @@ -58,9 +51,6 @@ public function create(): View /** * Show the form for editing the specified resource. - * - * @param Maintenance $maintenance - * @return View */ public function edit(Maintenance $maintenance): View { @@ -71,10 +61,6 @@ public function edit(Maintenance $maintenance): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param Maintenance $maintenance - * @return RedirectResponse */ public function update(Request $request, Maintenance $maintenance): RedirectResponse { @@ -93,9 +79,6 @@ public function update(Request $request, Maintenance $maintenance): RedirectResp /** * Remove the specified resource from storage. - * - * @param Maintenance $maintenance - * @return RedirectResponse */ public function destroy(Maintenance $maintenance): RedirectResponse { diff --git a/app/Http/Controllers/Admin/ModuleController.php b/app/Http/Controllers/Admin/ModuleController.php index f33e11b..5721a94 100644 --- a/app/Http/Controllers/Admin/ModuleController.php +++ b/app/Http/Controllers/Admin/ModuleController.php @@ -15,9 +15,6 @@ class ModuleController extends Controller { /** * Display a listing of the resource. - * - * @param Module $module - * @return View */ public function index(Module $module): View { @@ -28,8 +25,6 @@ public function index(Module $module): View /** * Show the form for creating a new resource. - * - * @return View */ public function create(): View { @@ -38,9 +33,6 @@ public function create(): View /** * Store a newly created resource in storage. - * - * @param Request $request - * @return RedirectResponse */ public function store(Request $request): RedirectResponse { @@ -78,9 +70,6 @@ private function rules(): array /** * Display the specified resource. - * - * @param Module $module - * @return View */ public function show(Module $module): View { @@ -93,9 +82,6 @@ public function show(Module $module): View /** * Show the form for editing the specified resource. - * - * @param Module $module - * @return View */ public function edit(Module $module): View { @@ -106,10 +92,6 @@ public function edit(Module $module): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param Module $module - * @return RedirectResponse */ public function update(Request $request, Module $module): RedirectResponse { @@ -160,9 +142,6 @@ public function update(Request $request, Module $module): RedirectResponse /** * Remove the specified resource from storage. - * - * @param Module $module - * @return RedirectResponse */ public function destroy(Module $module): RedirectResponse { diff --git a/app/Http/Controllers/Admin/NodeController.php b/app/Http/Controllers/Admin/NodeController.php index 92d66f2..44409ae 100644 --- a/app/Http/Controllers/Admin/NodeController.php +++ b/app/Http/Controllers/Admin/NodeController.php @@ -16,8 +16,6 @@ class NodeController extends Controller { /** * Display a listing of the resource. - * - * @return View */ public function index(): View { @@ -28,10 +26,6 @@ public function index(): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param string $node - * @return JsonResponse */ public function update(Request $request, string $node): JsonResponse { diff --git a/app/Http/Controllers/Admin/NotificationController.php b/app/Http/Controllers/Admin/NotificationController.php index 9383808..98c04e6 100644 --- a/app/Http/Controllers/Admin/NotificationController.php +++ b/app/Http/Controllers/Admin/NotificationController.php @@ -16,9 +16,6 @@ class NotificationController extends Controller { /** * Show the form for creating a new resource. - * - * @param Request $request - * @return View */ public function create(Request $request): View { @@ -66,9 +63,6 @@ public function query(Request|array $request): User|CachedBuilder|Builder /** * Store a newly created resource in storage. - * - * @param Request $request - * @return RedirectResponse */ public function store(Request $request): RedirectResponse { diff --git a/app/Http/Controllers/Admin/ReplyController.php b/app/Http/Controllers/Admin/ReplyController.php index da63632..47b7d63 100644 --- a/app/Http/Controllers/Admin/ReplyController.php +++ b/app/Http/Controllers/Admin/ReplyController.php @@ -13,10 +13,6 @@ class ReplyController extends Controller { /** * Store a newly created resource in storage. - * - * @param Request $request - * @param WorkOrder $work_order - * @return RedirectResponse */ public function store(Request $request, WorkOrder $work_order): RedirectResponse { @@ -39,10 +35,6 @@ public function store(Request $request, WorkOrder $work_order): RedirectResponse /** * Show the form for editing the specified resource. - * - * @param WorkOrder $work_order - * @param Reply $reply - * @return View */ public function edit(WorkOrder $work_order, Reply $reply): View { @@ -51,11 +43,6 @@ public function edit(WorkOrder $work_order, Reply $reply): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param WorkOrder $work_order - * @param Reply $reply - * @return RedirectResponse */ public function update(Request $request, WorkOrder $work_order, Reply $reply): RedirectResponse { @@ -72,10 +59,6 @@ public function update(Request $request, WorkOrder $work_order, Reply $reply): R /** * Remove the specified resource from storage. - * - * @param WorkOrder $work_order - * @param Reply $reply - * @return RedirectResponse */ public function destroy(WorkOrder $work_order, Reply $reply): RedirectResponse { diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 0923c3e..423870a 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -56,9 +56,6 @@ public function index(Request $request): View /** * Display the specified resource. - * - * @param User $user - * @return RedirectResponse */ public function show(User $user): RedirectResponse { @@ -69,9 +66,6 @@ public function show(User $user): RedirectResponse /** * Show the form for editing the specified resource. - * - * @param User $user - * @return View */ public function edit(User $user): View { @@ -85,10 +79,6 @@ public function edit(User $user): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param User $user - * @return RedirectResponse */ public function update(Request $request, User $user): RedirectResponse { @@ -153,9 +143,6 @@ public function update(Request $request, User $user): RedirectResponse /** * Remove the specified resource from storage. - * - * @param User $user - * @return RedirectResponse */ public function destroy(User $user): RedirectResponse { diff --git a/app/Http/Controllers/Admin/UserGroupController.php b/app/Http/Controllers/Admin/UserGroupController.php index bef0266..1ab6a0b 100644 --- a/app/Http/Controllers/Admin/UserGroupController.php +++ b/app/Http/Controllers/Admin/UserGroupController.php @@ -13,8 +13,6 @@ class UserGroupController extends Controller { /** * Display a listing of the resource. - * - * @return View */ public function index(): View { @@ -25,9 +23,6 @@ public function index(): View /** * Store a newly created resource in storage. - * - * @param Request $request - * @return RedirectResponse */ public function store(Request $request): RedirectResponse { @@ -50,8 +45,6 @@ private function rules(): array /** * Show the form for creating a new resource. - * - * @return View */ public function create(): View { @@ -60,9 +53,6 @@ public function create(): View /** * Display the specified resource. - * - * @param UserGroup $user_group - * @return View */ public function show(UserGroup $user_group): View { @@ -73,9 +63,6 @@ public function show(UserGroup $user_group): View /** * Show the form for editing the specified resource. - * - * @param UserGroup $user_group - * @return View */ public function edit(UserGroup $user_group): View { @@ -84,10 +71,6 @@ public function edit(UserGroup $user_group): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param UserGroup $user_group - * @return RedirectResponse */ public function update(Request $request, UserGroup $user_group): RedirectResponse { @@ -100,9 +83,6 @@ public function update(Request $request, UserGroup $user_group): RedirectRespons /** * Remove the specified resource from storage. - * - * @param UserGroup $user_group - * @return RedirectResponse */ public function destroy(UserGroup $user_group): RedirectResponse { diff --git a/app/Http/Controllers/Admin/WorkOrderController.php b/app/Http/Controllers/Admin/WorkOrderController.php index 7302a3d..5785c48 100644 --- a/app/Http/Controllers/Admin/WorkOrderController.php +++ b/app/Http/Controllers/Admin/WorkOrderController.php @@ -14,10 +14,6 @@ class WorkOrderController extends Controller { /** * Display a listing of the resource. - * - * @param Request $request - * @param WorkOrder $workOrder - * @return View */ public function index(Request $request, WorkOrder $workOrder): View { @@ -34,9 +30,6 @@ public function index(Request $request, WorkOrder $workOrder): View /** * Display the specified resource. - * - * @param WorkOrder $workOrder - * @return View */ public function show(WorkOrder $workOrder): View { @@ -49,9 +42,6 @@ public function show(WorkOrder $workOrder): View /** * Show the form for editing the specified resource. - * - * @param WorkOrder $workOrder - * @return View */ public function edit(WorkOrder $workOrder): View { @@ -60,10 +50,6 @@ public function edit(WorkOrder $workOrder): View /** * Update the specified resource in storage. - * - * @param Request $request - * @param WorkOrder $workOrder - * @return RedirectResponse */ public function update(Request $request, WorkOrder $workOrder): RedirectResponse { @@ -82,9 +68,6 @@ public function update(Request $request, WorkOrder $workOrder): RedirectResponse /** * Remove the specified resource from storage. - * - * @param WorkOrder $workOrder - * @return RedirectResponse */ public function destroy(WorkOrder $workOrder): RedirectResponse { diff --git a/app/Http/Controllers/Api/BalanceController.php b/app/Http/Controllers/Api/BalanceController.php index f12066e..d05b460 100644 --- a/app/Http/Controllers/Api/BalanceController.php +++ b/app/Http/Controllers/Api/BalanceController.php @@ -11,8 +11,6 @@ class BalanceController extends Controller { /** * Display a listing of the resource. - * - * @return JsonResponse */ public function index(): JsonResponse { @@ -23,9 +21,6 @@ public function index(): JsonResponse /** * Store a newly created resource in storage. - * - * @param Request $request - * @return JsonResponse */ public function store(Request $request): JsonResponse { @@ -48,9 +43,6 @@ public function store(Request $request): JsonResponse /** * Display the specified resource. - * - * @param Balance $balance - * @return JsonResponse */ public function show(Balance $balance): JsonResponse { diff --git a/app/Http/Controllers/Api/ReplyController.php b/app/Http/Controllers/Api/ReplyController.php index 04ef71d..c795c11 100644 --- a/app/Http/Controllers/Api/ReplyController.php +++ b/app/Http/Controllers/Api/ReplyController.php @@ -13,9 +13,6 @@ class ReplyController extends Controller { /** * Display a listing of the resource. - * - * @param WorkOrder $workOrder - * @return JsonResponse */ public function index(WorkOrder $workOrder): JsonResponse { @@ -26,10 +23,6 @@ public function index(WorkOrder $workOrder): JsonResponse /** * Store a newly created resource in storage. - * - * @param Request $request - * @param WorkOrder $workOrder - * @return JsonResponse */ public function store(Request $request, WorkOrder $workOrder): JsonResponse { diff --git a/app/Http/Controllers/Module/HostController.php b/app/Http/Controllers/Module/HostController.php index cf3fa3b..585278c 100644 --- a/app/Http/Controllers/Module/HostController.php +++ b/app/Http/Controllers/Module/HostController.php @@ -28,8 +28,6 @@ public function index(Request $request): Paginator /** * Store a newly created resource in storage. * - * @param Request $request - * @return Response|JsonResponse * * @throws ValidationException */ @@ -71,9 +69,6 @@ public function store(Request $request): Response|JsonResponse /** * Display the specified resource. - * - * @param Host $host - * @return JsonResponse */ public function show(Host $host): JsonResponse { @@ -86,9 +81,6 @@ public function show(Host $host): JsonResponse /** * Update the specified resource in storage. * - * @param Request $request - * @param Host $host - * @return JsonResponse * * @throws ValidationException */ @@ -108,9 +100,6 @@ public function update(Request $request, Host $host): JsonResponse /** * Remove the specified resource from storage. - * - * @param $host - * @return JsonResponse */ public function destroy($host): JsonResponse { diff --git a/app/Http/Controllers/Module/ReplyController.php b/app/Http/Controllers/Module/ReplyController.php index acb8a51..21ac0d4 100644 --- a/app/Http/Controllers/Module/ReplyController.php +++ b/app/Http/Controllers/Module/ReplyController.php @@ -12,9 +12,6 @@ class ReplyController extends Controller { /** * Display a listing of the resource. - * - * @param Request $request - * @return JsonResponse */ public function index(Request $request): JsonResponse { diff --git a/app/Http/Controllers/Module/TaskController.php b/app/Http/Controllers/Module/TaskController.php index 68f2824..3cc406e 100644 --- a/app/Http/Controllers/Module/TaskController.php +++ b/app/Http/Controllers/Module/TaskController.php @@ -16,9 +16,6 @@ class TaskController extends Controller /** * Display a listing of the resource. - * - * @param Request $request - * @return JsonResponse */ public function index(Request $request): JsonResponse { @@ -30,8 +27,6 @@ public function index(Request $request): JsonResponse /** * Store a newly created resource in storage. * - * @param Request $request - * @return JsonResponse * * @throws ValidationException */ @@ -51,9 +46,6 @@ public function store(Request $request): JsonResponse /** * Update the specified resource in storage. * - * @param Request $request - * @param Task $task - * @return JsonResponse * * @throws ValidationException */ diff --git a/app/Http/Controllers/Web/Auth/ConfirmPasswordController.php b/app/Http/Controllers/Web/Auth/ConfirmPasswordController.php index 32db48f..00995e8 100644 --- a/app/Http/Controllers/Web/Auth/ConfirmPasswordController.php +++ b/app/Http/Controllers/Web/Auth/ConfirmPasswordController.php @@ -23,8 +23,6 @@ class ConfirmPasswordController extends Controller /** * Where to redirect users when the intended url fails. - * - * @var string */ protected string $redirectTo = RouteServiceProvider::HOME; diff --git a/app/Http/Controllers/Web/Auth/LoginController.php b/app/Http/Controllers/Web/Auth/LoginController.php index 990a46c..aac27e6 100644 --- a/app/Http/Controllers/Web/Auth/LoginController.php +++ b/app/Http/Controllers/Web/Auth/LoginController.php @@ -23,8 +23,6 @@ class LoginController extends Controller /** * Where to redirect users after login. - * - * @var string */ protected string $redirectTo = RouteServiceProvider::HOME; diff --git a/app/Http/Controllers/Web/Auth/RegisterController.php b/app/Http/Controllers/Web/Auth/RegisterController.php index b1b5fec..729cfc5 100644 --- a/app/Http/Controllers/Web/Auth/RegisterController.php +++ b/app/Http/Controllers/Web/Auth/RegisterController.php @@ -26,8 +26,6 @@ class RegisterController extends Controller /** * Where to redirect users after registration. - * - * @var string */ protected string $redirectTo = RouteServiceProvider::HOME; @@ -43,9 +41,6 @@ public function __construct() /** * Get a validator for an incoming registration request. - * - * @param array $data - * @return \Illuminate\Contracts\Validation\Validator */ protected function validator(array $data): \Illuminate\Contracts\Validation\Validator { @@ -58,9 +53,6 @@ protected function validator(array $data): \Illuminate\Contracts\Validation\Vali /** * Create a new user instance after a valid registration. - * - * @param array $data - * @return User */ protected function create(array $data): User { diff --git a/app/Http/Controllers/Web/Auth/ResetPasswordController.php b/app/Http/Controllers/Web/Auth/ResetPasswordController.php index b5f0ff2..b342dc0 100644 --- a/app/Http/Controllers/Web/Auth/ResetPasswordController.php +++ b/app/Http/Controllers/Web/Auth/ResetPasswordController.php @@ -23,8 +23,6 @@ class ResetPasswordController extends Controller /** * Where to redirect users after resetting their password. - * - * @var string */ protected string $redirectTo = RouteServiceProvider::HOME; } diff --git a/app/Http/Controllers/Web/Auth/VerificationController.php b/app/Http/Controllers/Web/Auth/VerificationController.php index a9e38a0..b08d757 100644 --- a/app/Http/Controllers/Web/Auth/VerificationController.php +++ b/app/Http/Controllers/Web/Auth/VerificationController.php @@ -23,8 +23,6 @@ class VerificationController extends Controller /** * Where to redirect users after verification. - * - * @var string */ protected string $redirectTo = RouteServiceProvider::HOME; diff --git a/app/Http/Controllers/Web/BalanceController.php b/app/Http/Controllers/Web/BalanceController.php index 7c13564..137e08d 100644 --- a/app/Http/Controllers/Web/BalanceController.php +++ b/app/Http/Controllers/Web/BalanceController.php @@ -241,7 +241,6 @@ public function notify( * 获取交易记录 * * @param mixed $request - * @return View */ public function transactions( Request $request diff --git a/app/Http/Controllers/Web/HostController.php b/app/Http/Controllers/Web/HostController.php index 3f21c20..a1bab13 100644 --- a/app/Http/Controllers/Web/HostController.php +++ b/app/Http/Controllers/Web/HostController.php @@ -12,8 +12,6 @@ class HostController extends Controller { /** * Display a listing of the resource. - * - * @return View */ public function index(): View { @@ -35,9 +33,6 @@ public function update(Request $request, Host $host): RedirectResponse /** * Remove the specified resource from storage. - * - * @param Host $host - * @return RedirectResponse */ public function destroy(Host $host): RedirectResponse { diff --git a/app/Http/Middleware/AddHeaders.php b/app/Http/Middleware/AddHeaders.php index dbc047f..d3c8295 100644 --- a/app/Http/Middleware/AddHeaders.php +++ b/app/Http/Middleware/AddHeaders.php @@ -10,10 +10,6 @@ class AddHeaders { /** * Handle an incoming request. - * - * @param Request $request - * @param Closure $next - * @return mixed */ public function handle(Request $request, Closure $next): mixed { diff --git a/app/Http/Middleware/Admin/ValidateReferer.php b/app/Http/Middleware/Admin/ValidateReferer.php index 8d7969e..c5d3d1b 100644 --- a/app/Http/Middleware/Admin/ValidateReferer.php +++ b/app/Http/Middleware/Admin/ValidateReferer.php @@ -13,9 +13,7 @@ class ValidateReferer /** * Handle an incoming request. * - * @param Request $request * @param Closure(Request): (Response|RedirectResponse) $next - * @return mixed */ public function handle(Request $request, Closure $next): mixed { diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index fc29120..ae08ca5 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -11,7 +11,6 @@ class Authenticate extends Middleware * Get the path the user should be redirected to when they are not authenticated. * * @param Request $request - * @return string|null */ protected function redirectTo($request): ?string { diff --git a/app/Http/Middleware/JsonRequest.php b/app/Http/Middleware/JsonRequest.php index f636a09..b3f11f9 100644 --- a/app/Http/Middleware/JsonRequest.php +++ b/app/Http/Middleware/JsonRequest.php @@ -13,9 +13,7 @@ class JsonRequest /** * Handle an incoming request. * - * @param Request $request * @param Closure(Request): (Response|RedirectResponse) $next - * @return Response|RedirectResponse|JsonResponse */ public function handle(Request $request, Closure $next): Response|JsonResponse|RedirectResponse { diff --git a/app/Http/Middleware/MakeSureModuleStatusIsUp.php b/app/Http/Middleware/MakeSureModuleStatusIsUp.php index df5963c..d39be2a 100644 --- a/app/Http/Middleware/MakeSureModuleStatusIsUp.php +++ b/app/Http/Middleware/MakeSureModuleStatusIsUp.php @@ -12,10 +12,6 @@ class MakeSureModuleStatusIsUp { /** * Handle an incoming request. - * - * @param Request $request - * @param Closure $next - * @return Response|RedirectResponse|JsonResponse */ public function handle(Request $request, Closure $next): Response|RedirectResponse|JsonResponse { diff --git a/app/Http/Middleware/RealNamed.php b/app/Http/Middleware/RealNamed.php index 2537ef4..2252709 100644 --- a/app/Http/Middleware/RealNamed.php +++ b/app/Http/Middleware/RealNamed.php @@ -15,11 +15,6 @@ class RealNamed /** * Handle an incoming request. - * - * @param Request $request - * @param Closure $next - * @param string $guard - * @return Response|RedirectResponse|JsonResponse */ public function handle(Request $request, Closure $next, string $guard = 'web'): Response|RedirectResponse|JsonResponse { diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index c46cda0..42150f0 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -14,10 +14,8 @@ class RedirectIfAuthenticated /** * Handle an incoming request. * - * @param Request $request * @param Closure(Request): (Response|RedirectResponse) $next * @param string|null ...$guards - * @return Response|RedirectResponse */ public function handle(Request $request, Closure $next, ...$guards): Response|RedirectResponse { diff --git a/app/Http/Middleware/ReportRequestToCluster.php b/app/Http/Middleware/ReportRequestToCluster.php index e01516c..57d0f3e 100644 --- a/app/Http/Middleware/ReportRequestToCluster.php +++ b/app/Http/Middleware/ReportRequestToCluster.php @@ -14,9 +14,7 @@ class ReportRequestToCluster /** * Handle an incoming request. * - * @param Request $request * @param Closure(Request): (Response|RedirectResponse) $next - * @return mixed */ public function handle(Request $request, Closure $next): mixed { diff --git a/app/Http/Middleware/TrustedDomain.php b/app/Http/Middleware/TrustedDomain.php index 33c40e3..a951fe1 100644 --- a/app/Http/Middleware/TrustedDomain.php +++ b/app/Http/Middleware/TrustedDomain.php @@ -12,9 +12,7 @@ class TrustedDomain /** * Handle an incoming request. * - * @param Request $request * @param Closure(Request): (Response|RedirectResponse) $next - * @return mixed */ public function handle(Request $request, Closure $next): mixed { diff --git a/app/Http/Middleware/ValidateUserIfBanned.php b/app/Http/Middleware/ValidateUserIfBanned.php index 30ceaa0..1927f87 100644 --- a/app/Http/Middleware/ValidateUserIfBanned.php +++ b/app/Http/Middleware/ValidateUserIfBanned.php @@ -12,10 +12,6 @@ class ValidateUserIfBanned { /** * Handle an incoming request. - * - * @param Request $request - * @param Closure $next - * @return Response|RedirectResponse|JsonResponse */ public function handle(Request $request, Closure $next): Response|RedirectResponse|JsonResponse { diff --git a/app/Http/Requests/Remote/Server/StatusRequest.php b/app/Http/Requests/Remote/Server/StatusRequest.php index 8b01859..4675751 100644 --- a/app/Http/Requests/Remote/Server/StatusRequest.php +++ b/app/Http/Requests/Remote/Server/StatusRequest.php @@ -8,8 +8,6 @@ class StatusRequest extends FormRequest { /** * Determine if the user is authorized to make this request. - * - * @return bool */ public function authorize(): bool { diff --git a/app/Http/Requests/Remote/WorkOrderRequest.php b/app/Http/Requests/Remote/WorkOrderRequest.php index c0aadce..6810bb8 100644 --- a/app/Http/Requests/Remote/WorkOrderRequest.php +++ b/app/Http/Requests/Remote/WorkOrderRequest.php @@ -9,8 +9,6 @@ class WorkOrderRequest extends FormRequest { /** * Determine if the user is authorized to make this request. - * - * @return bool */ public function authorize(): bool { diff --git a/app/Http/Requests/User/HostRequest.php b/app/Http/Requests/User/HostRequest.php index fe5f3ce..3f527c9 100644 --- a/app/Http/Requests/User/HostRequest.php +++ b/app/Http/Requests/User/HostRequest.php @@ -9,8 +9,6 @@ class HostRequest extends FormRequest { /** * Determine if the user is authorized to make this request. - * - * @return bool */ public function authorize(): bool { diff --git a/app/Http/Requests/User/WorkOrder/WorkOrderRequest.php b/app/Http/Requests/User/WorkOrder/WorkOrderRequest.php index 795c3b1..4710ac9 100644 --- a/app/Http/Requests/User/WorkOrder/WorkOrderRequest.php +++ b/app/Http/Requests/User/WorkOrder/WorkOrderRequest.php @@ -8,8 +8,6 @@ class WorkOrderRequest extends FormRequest { /** * Determine if the user is authorized to make this request. - * - * @return bool */ public function authorize(): bool { diff --git a/app/Jobs/Host/DeleteHostJob.php b/app/Jobs/Host/DeleteHostJob.php index ce09739..c7a8930 100644 --- a/app/Jobs/Host/DeleteHostJob.php +++ b/app/Jobs/Host/DeleteHostJob.php @@ -16,8 +16,6 @@ class DeleteHostJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Host/DispatchHostCostQueueJob.php b/app/Jobs/Host/DispatchHostCostQueueJob.php index 04bfc63..4c6bd81 100644 --- a/app/Jobs/Host/DispatchHostCostQueueJob.php +++ b/app/Jobs/Host/DispatchHostCostQueueJob.php @@ -31,8 +31,6 @@ public function __construct($minute, Host $host = null) /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Host/HostJob.php b/app/Jobs/Host/HostJob.php index 61dc2f3..82ca272 100644 --- a/app/Jobs/Host/HostJob.php +++ b/app/Jobs/Host/HostJob.php @@ -36,7 +36,6 @@ public function __construct(HostModel $host, $type = 'post', $pass_unavailable = /** * Execute the job. * - * @return void * * @noinspection PhpUndefinedVariableInspection */ diff --git a/app/Jobs/Host/PushHostJob.php b/app/Jobs/Host/PushHostJob.php index df60822..3756ec1 100644 --- a/app/Jobs/Host/PushHostJob.php +++ b/app/Jobs/Host/PushHostJob.php @@ -16,8 +16,6 @@ class PushHostJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Host/ScanAllHostsJob.php b/app/Jobs/Host/ScanAllHostsJob.php index e5999a2..7c3774f 100644 --- a/app/Jobs/Host/ScanAllHostsJob.php +++ b/app/Jobs/Host/ScanAllHostsJob.php @@ -17,8 +17,6 @@ class ScanAllHostsJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Host/SendRenewNotificationJob.php b/app/Jobs/Host/SendRenewNotificationJob.php index b770b09..89a8c26 100644 --- a/app/Jobs/Host/SendRenewNotificationJob.php +++ b/app/Jobs/Host/SendRenewNotificationJob.php @@ -28,8 +28,6 @@ public function __construct(?Host $host) /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Host/UpdateOrDeleteHostJob.php b/app/Jobs/Host/UpdateOrDeleteHostJob.php index b141545..7f69700 100644 --- a/app/Jobs/Host/UpdateOrDeleteHostJob.php +++ b/app/Jobs/Host/UpdateOrDeleteHostJob.php @@ -29,8 +29,6 @@ public function __construct(Host $host) /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Module/DispatchFetchModuleJob.php b/app/Jobs/Module/DispatchFetchModuleJob.php index e30df9c..83f735b 100644 --- a/app/Jobs/Module/DispatchFetchModuleJob.php +++ b/app/Jobs/Module/DispatchFetchModuleJob.php @@ -29,8 +29,6 @@ public function __construct(Module $module = null) /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Module/SendModuleEarningsJob.php b/app/Jobs/Module/SendModuleEarningsJob.php index d7317f3..60c35df 100644 --- a/app/Jobs/Module/SendModuleEarningsJob.php +++ b/app/Jobs/Module/SendModuleEarningsJob.php @@ -11,8 +11,6 @@ class SendModuleEarningsJob extends Job { /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/Support/EMQXKickClientJob.php b/app/Jobs/Support/EMQXKickClientJob.php index 70fcd4c..a197ec7 100644 --- a/app/Jobs/Support/EMQXKickClientJob.php +++ b/app/Jobs/Support/EMQXKickClientJob.php @@ -35,8 +35,6 @@ public function __construct($client_id, $username, $like_username = false) /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/User/CheckAndChargeBalanceJob.php b/app/Jobs/User/CheckAndChargeBalanceJob.php index 7e443a7..6b525b4 100644 --- a/app/Jobs/User/CheckAndChargeBalanceJob.php +++ b/app/Jobs/User/CheckAndChargeBalanceJob.php @@ -14,8 +14,6 @@ class CheckAndChargeBalanceJob extends Job implements ShouldQueue { /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/User/ClearTasksJob.php b/app/Jobs/User/ClearTasksJob.php index 11bd618..b3ec391 100644 --- a/app/Jobs/User/ClearTasksJob.php +++ b/app/Jobs/User/ClearTasksJob.php @@ -16,8 +16,6 @@ class ClearTasksJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/User/RollbackUserTempGroupJob.php b/app/Jobs/User/RollbackUserTempGroupJob.php index 3dc54e9..c795874 100644 --- a/app/Jobs/User/RollbackUserTempGroupJob.php +++ b/app/Jobs/User/RollbackUserTempGroupJob.php @@ -16,8 +16,6 @@ class RollbackUserTempGroupJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/User/SendUserNotificationsJob.php b/app/Jobs/User/SendUserNotificationsJob.php index ebcbab9..c4caf1b 100644 --- a/app/Jobs/User/SendUserNotificationsJob.php +++ b/app/Jobs/User/SendUserNotificationsJob.php @@ -41,8 +41,6 @@ public function __construct(array $requests, $title, $content, $send_mail = fals /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/User/SetBirthdayGroupJob.php b/app/Jobs/User/SetBirthdayGroupJob.php index 95cca80..a108acf 100644 --- a/app/Jobs/User/SetBirthdayGroupJob.php +++ b/app/Jobs/User/SetBirthdayGroupJob.php @@ -17,8 +17,6 @@ class SetBirthdayGroupJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/WorkOrder/AutoCloseWorkOrderJob.php b/app/Jobs/WorkOrder/AutoCloseWorkOrderJob.php index 552c540..5039cdb 100644 --- a/app/Jobs/WorkOrder/AutoCloseWorkOrderJob.php +++ b/app/Jobs/WorkOrder/AutoCloseWorkOrderJob.php @@ -9,8 +9,6 @@ class AutoCloseWorkOrderJob extends Job { /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/WorkOrder/PushWorkOrderJob.php b/app/Jobs/WorkOrder/PushWorkOrderJob.php index 258da9c..ace358a 100644 --- a/app/Jobs/WorkOrder/PushWorkOrderJob.php +++ b/app/Jobs/WorkOrder/PushWorkOrderJob.php @@ -16,8 +16,6 @@ class PushWorkOrderJob implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/WorkOrder/Reply.php b/app/Jobs/WorkOrder/Reply.php index f946997..e289739 100644 --- a/app/Jobs/WorkOrder/Reply.php +++ b/app/Jobs/WorkOrder/Reply.php @@ -29,8 +29,6 @@ public function __construct(WorkOrderReply $reply, $type = 'post') /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/WorkOrder/WorkOrder.php b/app/Jobs/WorkOrder/WorkOrder.php index 3f58e16..dadfaaf 100644 --- a/app/Jobs/WorkOrder/WorkOrder.php +++ b/app/Jobs/WorkOrder/WorkOrder.php @@ -32,8 +32,6 @@ public function __construct(WorkOrderModel $workOrder, $type = 'post') /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Models/Module.php b/app/Models/Module.php index 62f25c2..cdba6b3 100644 --- a/app/Models/Module.php +++ b/app/Models/Module.php @@ -107,13 +107,6 @@ private function getResponse(Response $response): array ]; } - /** - * @param $method - * @param $path - * @param $requests - * @param array $files - * @return array - */ public function request($method, $path, $requests, array $files = []): array { try { @@ -202,12 +195,6 @@ public function calculate(): array /** * 扣除费用 - * - * @param string|null $amount - * @param string|null $description - * @param bool $fail - * @param array $options - * @return string */ public function reduce(string|null $amount = '0', string|null $description = '消费', bool $fail = false, array $options = []): string { @@ -249,12 +236,6 @@ public function reduce(string|null $amount = '0', string|null $description = ' /** * 增加余额 - * - * @param string|null $amount - * @param string $payment - * @param string|null $description - * @param array $options - * @return string */ public function charge(string|null $amount = '0', string $payment = 'console', string|null $description = '充值', array $options = []): string { diff --git a/app/Models/PersonalAccessToken.php b/app/Models/PersonalAccessToken.php index f1ab141..89ab105 100644 --- a/app/Models/PersonalAccessToken.php +++ b/app/Models/PersonalAccessToken.php @@ -15,9 +15,6 @@ class PersonalAccessToken extends SanctumPersonalAccessToken * We only want to actually save when there is something other than * the last_used_at column that has changed. It prevents extra DB writes * since we aren't going to use that column for anything. - * - * @param array $options - * @return bool */ public function save(array $options = []): bool { diff --git a/app/Models/User.php b/app/Models/User.php index c5e56ce..2118e4b 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -165,12 +165,6 @@ public function startTransfer(self $to, string $amount, string|null $description /** * 扣除费用 - * - * @param string|null $amount - * @param string $description - * @param bool $fail - * @param array $options - * @return Transaction */ public function reduce(string|null $amount = '0', string $description = '消费', bool $fail = false, array $options = []): Transaction { @@ -210,12 +204,6 @@ public function reduce(string|null $amount = '0', string $description = '消费' /** * 增加余额 - * - * @param string|null $amount - * @param string $payment - * @param string $description - * @param array $options - * @return Transaction */ public function charge(string|null $amount = '0', string $payment = 'console', string $description = '充值', array $options = []): Transaction { @@ -267,8 +255,6 @@ public function getCostPrice(string $price): string /** * 获取用户的身份证号 - * - * @return Attribute */ protected function idCard(): Attribute { diff --git a/app/Models/UserGroup.php b/app/Models/UserGroup.php index 45fd41d..4cea269 100644 --- a/app/Models/UserGroup.php +++ b/app/Models/UserGroup.php @@ -31,11 +31,6 @@ public function users(): HasMany /** * 设置临时用户组 - * - * @param User $user - * @param UserGroup $group - * @param Carbon $expired_at - * @return User */ public function setTempGroup(User $user, self $group, Carbon $expired_at): User { diff --git a/app/Notifications/Channels/WeComChannel.php b/app/Notifications/Channels/WeComChannel.php index aece92a..560282d 100644 --- a/app/Notifications/Channels/WeComChannel.php +++ b/app/Notifications/Channels/WeComChannel.php @@ -13,10 +13,6 @@ class WeComChannel extends Notification /** * Send the given notification. - * - * @param mixed $notifiable - * @param Notification $notification - * @return void */ public function send(mixed $notifiable, Notification $notification): void { diff --git a/app/Notifications/Channels/WebChannel.php b/app/Notifications/Channels/WebChannel.php index a8fdebf..31532b6 100644 --- a/app/Notifications/Channels/WebChannel.php +++ b/app/Notifications/Channels/WebChannel.php @@ -13,10 +13,6 @@ class WebChannel extends Notification /** * Send the given notification. - * - * @param mixed $notifiable - * @param Notification $notification - * @return void */ public function send(mixed $notifiable, Notification $notification): void { diff --git a/app/Notifications/User/TodayIsUserBirthday.php b/app/Notifications/User/TodayIsUserBirthday.php index da9cac2..d7bc346 100644 --- a/app/Notifications/User/TodayIsUserBirthday.php +++ b/app/Notifications/User/TodayIsUserBirthday.php @@ -24,9 +24,6 @@ public function __construct() /** * Get the notification's delivery channels. - * - * - * @return array */ public function via(): array { @@ -35,9 +32,6 @@ public function via(): array /** * Get the mail representation of the notification. - * - * - * @return MailMessage */ public function toMail(): MailMessage { @@ -91,9 +85,6 @@ public function toMail(): MailMessage /** * Get the array representation of the notification. - * - * - * @return array */ public function toArray(): array { diff --git a/app/Notifications/User/UserCharged.php b/app/Notifications/User/UserCharged.php index 3e2af54..56c1464 100644 --- a/app/Notifications/User/UserCharged.php +++ b/app/Notifications/User/UserCharged.php @@ -24,9 +24,6 @@ public function __construct() /** * Get the notification's delivery channels. - * - * - * @return array */ public function via(): array { diff --git a/app/Notifications/User/UserNotification.php b/app/Notifications/User/UserNotification.php index 5d8ed50..dec9f88 100644 --- a/app/Notifications/User/UserNotification.php +++ b/app/Notifications/User/UserNotification.php @@ -32,8 +32,6 @@ public function __construct(string $title, string $content, bool $send_mail = fa /** * Get the notification's delivery channels. - * - * @return array */ public function via(): array { @@ -48,8 +46,6 @@ public function via(): array /** * Get the mail representation of the notification. - * - * @return MailMessage */ public function toMail(): MailMessage { @@ -61,8 +57,6 @@ public function toMail(): MailMessage /** * Get the array representation of the notification. - * - * @return array */ public function toArray(): array { diff --git a/app/Notifications/WebNotification.php b/app/Notifications/WebNotification.php index 9ecd9ad..5d9e0b9 100644 --- a/app/Notifications/WebNotification.php +++ b/app/Notifications/WebNotification.php @@ -31,8 +31,6 @@ public function __construct(array|Model $message, string $event = 'notification' /** * Get the array representation of the notification. - * - * @return array */ public function toArray(): array { @@ -41,8 +39,6 @@ public function toArray(): array /** * Get the notification's delivery channels. - * - * @return array */ public function via(): array { diff --git a/app/Notifications/WorkOrder/WorkOrder.php b/app/Notifications/WorkOrder/WorkOrder.php index 428249c..c903a72 100644 --- a/app/Notifications/WorkOrder/WorkOrder.php +++ b/app/Notifications/WorkOrder/WorkOrder.php @@ -28,10 +28,6 @@ public function __construct(WorkOrderModel $work_order) /** * Get the notification's delivery channels. - * - * - * @param WorkOrderModel $workOrder - * @return array */ public function via(WorkOrderModel $workOrder): array { @@ -46,10 +42,6 @@ public function via(WorkOrderModel $workOrder): array /** * Get the mail representation of the notification. - * - * - * @param WorkOrderModel $workOrder - * @return MailMessage */ public function toMail(WorkOrderModel $workOrder): MailMessage { @@ -61,10 +53,6 @@ public function toMail(WorkOrderModel $workOrder): MailMessage /** * Get the array representation of the notification. - * - * - * @param WorkOrderModel $workOrder - * @return array */ public function toArray(WorkOrderModel $workOrder): array { diff --git a/app/Observers/HostObserver.php b/app/Observers/HostObserver.php index 2305181..a5f8f5e 100644 --- a/app/Observers/HostObserver.php +++ b/app/Observers/HostObserver.php @@ -25,9 +25,6 @@ public function creating(Host $host): void /** * Handle the Host "created" event. - * - * @param Host $host - * @return void */ public function created(Host $host): void { @@ -43,9 +40,6 @@ public function created(Host $host): void /** * Handle the Host "updated" event. - * - * @param Host $host - * @return void */ public function updating(Host $host): void { @@ -84,9 +78,6 @@ public function updated(Host $host): void /** * Handle the Host "deleted" event. - * - * @param Host $host - * @return void */ public function deleted(Host $host): void { diff --git a/app/Policies/WorkOrder/ReplyPolicy.php b/app/Policies/WorkOrder/ReplyPolicy.php index 1d3a390..a42c8eb 100644 --- a/app/Policies/WorkOrder/ReplyPolicy.php +++ b/app/Policies/WorkOrder/ReplyPolicy.php @@ -11,9 +11,6 @@ class ReplyPolicy /** * Determine whether the user can view any models. - * - * - * @return Response|bool */ public function viewAny(): Response|bool { @@ -24,9 +21,6 @@ public function viewAny(): Response|bool /** * Determine whether the user can create models. - * - * - * @return Response|bool */ public function create(): Response|bool { @@ -35,9 +29,6 @@ public function create(): Response|bool /** * Determine whether the user can update the model. - * - * - * @return Response|bool */ public function update(): Response|bool { @@ -46,9 +37,6 @@ public function update(): Response|bool /** * Determine whether the user can delete the model. - * - * - * @return Response|bool */ public function delete(): Response|bool { diff --git a/app/Policies/WorkOrder/WorkOrderPolicy.php b/app/Policies/WorkOrder/WorkOrderPolicy.php index 779d1b6..5a1d7bf 100644 --- a/app/Policies/WorkOrder/WorkOrderPolicy.php +++ b/app/Policies/WorkOrder/WorkOrderPolicy.php @@ -14,10 +14,6 @@ class WorkOrderPolicy /** * Determine whether the user can view the model. - * - * @param User|Module $user - * @param WorkOrder $workOrder - * @return Response|bool */ public function view(User|Module $user, WorkOrder $workOrder): Response|bool { @@ -30,10 +26,6 @@ public function view(User|Module $user, WorkOrder $workOrder): Response|bool /** * Determine whether the user can update the model. - * - * @param User|Module $user - * @param WorkOrder $workOrder - * @return Response|bool */ public function update(User|Module $user, WorkOrder $workOrder): Response|bool { @@ -46,10 +38,6 @@ public function update(User|Module $user, WorkOrder $workOrder): Response|bool /** * Determine whether the user can delete the model. - * - * @param User|Module $user - * @param WorkOrder $workOrder - * @return Response|bool */ public function delete(User|Module $user, WorkOrder $workOrder): Response|bool { diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index cea3f05..b44e318 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -22,8 +22,6 @@ class AppServiceProvider extends ServiceProvider { /** * Register any application services. - * - * @return void */ public function register(): void { @@ -32,8 +30,6 @@ public function register(): void /** * Bootstrap any application services. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index dd3595c..1cfb51d 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -23,8 +23,6 @@ class AuthServiceProvider extends ServiceProvider /** * 注册任何应用程序 身份验证 / 授权服务。 - * - * @return void */ public function boot(): void { diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php index da1c1d7..4ade097 100644 --- a/app/Providers/BroadcastServiceProvider.php +++ b/app/Providers/BroadcastServiceProvider.php @@ -9,8 +9,6 @@ class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 2b3f577..91374ec 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -21,8 +21,6 @@ class EventServiceProvider extends ServiceProvider /** * Register any events for your application. - * - * @return void */ public function boot(): void { @@ -30,8 +28,6 @@ public function boot(): void /** * Determine if events and listeners should be automatically discovered. - * - * @return bool */ public function shouldDiscoverEvents(): bool { diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index a07d64a..b0e5b2c 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -21,8 +21,6 @@ class RouteServiceProvider extends ServiceProvider /** * Define your route model bindings, pattern filters, and other route configuration. - * - * @return void */ public function boot(): void { @@ -61,8 +59,6 @@ public function boot(): void /** * Configure the rate limiters for the application. - * - * @return void */ protected function configureRateLimiting(): void { diff --git a/app/Rules/Domain.php b/app/Rules/Domain.php index 7d92c34..de047c2 100644 --- a/app/Rules/Domain.php +++ b/app/Rules/Domain.php @@ -11,7 +11,6 @@ class Domain implements Rule * * @param string $attribute * @param mixed $value - * @return bool */ public function passes($attribute, $value): bool { @@ -20,8 +19,6 @@ public function passes($attribute, $value): bool /** * Get the validation error message. - * - * @return string */ public function message(): string { diff --git a/app/Support/ClusterSupport.php b/app/Support/ClusterSupport.php index a16cd19..b82d427 100644 --- a/app/Support/ClusterSupport.php +++ b/app/Support/ClusterSupport.php @@ -108,7 +108,6 @@ public static function hdel($key, $hash_key): void * @param string|array $events 事件名称 * @param $callback callable 回调函数,接收一个参数,为事件数据。 * @param $ignore_self bool 是否忽略此节点的消息。 - * @return void */ public static function listen(string|array $events, callable $callback, bool $ignore_self = true): void { diff --git a/app/Support/RealNameSupport.php b/app/Support/RealNameSupport.php index efb1e14..8fcb296 100644 --- a/app/Support/RealNameSupport.php +++ b/app/Support/RealNameSupport.php @@ -36,10 +36,6 @@ public function __construct() /** * 创建实名认证请求 * - * @param $user_id - * @param $name - * @param $id_card - * @return string * * @throws CommonException */ @@ -60,8 +56,6 @@ public function create($user_id, $name, $id_card): string /** 向 实名认证服务 发送请求 * - * @param string $id - * @return string * * @throws CommonException */ @@ -105,9 +99,6 @@ private function submit(string $id): string /** * 验证实名认证请求 - * - * @param array $request - * @return array|bool */ public function verify(array $request): array|bool { diff --git a/app/View/Components/Alert.php b/app/View/Components/Alert.php index 8206119..f93f1e5 100644 --- a/app/View/Components/Alert.php +++ b/app/View/Components/Alert.php @@ -9,8 +9,6 @@ class Alert extends Component { /** * Get the view / contents that represent the component. - * - * @return View */ public function render(): View { diff --git a/app/View/Components/AlertDanger.php b/app/View/Components/AlertDanger.php index 990a32e..e5ded6e 100644 --- a/app/View/Components/AlertDanger.php +++ b/app/View/Components/AlertDanger.php @@ -10,8 +10,6 @@ class AlertDanger extends Component { /** * Get the view / contents that represent the component. - * - * @return View|Closure|string */ public function render(): View|Closure|string { diff --git a/app/View/Components/AlertInfo.php b/app/View/Components/AlertInfo.php index cf349d4..ba92aaa 100644 --- a/app/View/Components/AlertInfo.php +++ b/app/View/Components/AlertInfo.php @@ -10,8 +10,6 @@ class AlertInfo extends Component { /** * Get the view / contents that represent the component. - * - * @return View|Closure|string */ public function render(): View|Closure|string { diff --git a/app/View/Components/AlertSuccess.php b/app/View/Components/AlertSuccess.php index 95d6457..c6e66dd 100644 --- a/app/View/Components/AlertSuccess.php +++ b/app/View/Components/AlertSuccess.php @@ -10,8 +10,6 @@ class AlertSuccess extends Component { /** * Get the view / contents that represent the component. - * - * @return View|Closure|string */ public function render(): View|string|Closure { diff --git a/app/View/Components/AlertWarning.php b/app/View/Components/AlertWarning.php index 24cfdad..3096146 100644 --- a/app/View/Components/AlertWarning.php +++ b/app/View/Components/AlertWarning.php @@ -10,8 +10,6 @@ class AlertWarning extends Component { /** * Get the view / contents that represent the component. - * - * @return View|Closure|string */ public function render(): View|Closure|string { diff --git a/app/View/Components/BasicCard.php b/app/View/Components/BasicCard.php index 1454173..a6186e2 100644 --- a/app/View/Components/BasicCard.php +++ b/app/View/Components/BasicCard.php @@ -21,8 +21,6 @@ public function __construct($title) /** * Get the view / contents that represent the component. - * - * @return View */ public function render(): View { diff --git a/app/View/Components/BillingCycle.php b/app/View/Components/BillingCycle.php index 9aa0ea5..02461a2 100644 --- a/app/View/Components/BillingCycle.php +++ b/app/View/Components/BillingCycle.php @@ -20,8 +20,6 @@ public function __construct(null|string $cycle = 'dynamic') /** * Get the view / contents that represent the component. - * - * @return string */ public function render(): string { diff --git a/app/View/Components/HostStatus.php b/app/View/Components/HostStatus.php index 64c31e7..c8a8a20 100644 --- a/app/View/Components/HostStatus.php +++ b/app/View/Components/HostStatus.php @@ -21,8 +21,6 @@ public function __construct($status) /** * Get the view / contents that represent the component. - * - * @return View */ public function render(): View { diff --git a/app/View/Components/ModuleEarning.php b/app/View/Components/ModuleEarning.php index 73f8283..f87109a 100644 --- a/app/View/Components/ModuleEarning.php +++ b/app/View/Components/ModuleEarning.php @@ -22,8 +22,6 @@ public function __construct(Module $module) /** * Get the view / contents that represent the component. - * - * @return View */ public function render(): View { diff --git a/app/View/Components/ModuleScript.php b/app/View/Components/ModuleScript.php index 9f36db8..a511f92 100644 --- a/app/View/Components/ModuleScript.php +++ b/app/View/Components/ModuleScript.php @@ -10,8 +10,6 @@ class ModuleScript extends Component { /** * Get the view / contents that represent the component. - * - * @return View */ public function render(): View { diff --git a/app/View/Components/ModuleStatus.php b/app/View/Components/ModuleStatus.php index 7a22a17..b99d014 100644 --- a/app/View/Components/ModuleStatus.php +++ b/app/View/Components/ModuleStatus.php @@ -21,8 +21,6 @@ public function __construct($status) /** * Get the view / contents that represent the component. - * - * @return View */ public function render(): View { diff --git a/app/View/Components/Payment.php b/app/View/Components/Payment.php index 8b55965..49ae90b 100644 --- a/app/View/Components/Payment.php +++ b/app/View/Components/Payment.php @@ -20,8 +20,6 @@ public function __construct(string|null $payment) /** * Get the view / contents that represent the component. - * - * @return string */ public function render(): string { diff --git a/app/View/Components/WorkOrderStatus.php b/app/View/Components/WorkOrderStatus.php index c4c98b2..45a46b3 100644 --- a/app/View/Components/WorkOrderStatus.php +++ b/app/View/Components/WorkOrderStatus.php @@ -21,8 +21,6 @@ public function __construct($status) /** * Get the view / contents that represent the component. - * - * @return View */ public function render(): View { diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 3c2f110..9bed00b 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -29,8 +29,6 @@ public function definition(): array /** * Indicate that the model's email address should be unverified. - * - * @return static */ public function unverified(): static { diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index cb45e42..e5919f5 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -37,8 +35,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2014_10_12_000001_create_password_resets_table.php b/database/migrations/2014_10_12_000001_create_password_resets_table.php index b4d45de..4f42fe6 100644 --- a/database/migrations/2014_10_12_000001_create_password_resets_table.php +++ b/database/migrations/2014_10_12_000001_create_password_resets_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -22,8 +20,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_000000_create_admins_table.php b/database/migrations/2023_02_02_000000_create_admins_table.php index d590e9f..1408497 100644 --- a/database/migrations/2023_02_02_000000_create_admins_table.php +++ b/database/migrations/2023_02_02_000000_create_admins_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_000000_create_applications_table.php b/database/migrations/2023_02_02_000000_create_applications_table.php index 27b1bd4..afc79ea 100644 --- a/database/migrations/2023_02_02_000000_create_applications_table.php +++ b/database/migrations/2023_02_02_000000_create_applications_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -24,8 +22,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_000000_create_balances_table.php b/database/migrations/2023_02_02_000000_create_balances_table.php index e7a6c62..b434ccb 100644 --- a/database/migrations/2023_02_02_000000_create_balances_table.php +++ b/database/migrations/2023_02_02_000000_create_balances_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -29,8 +27,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_000001_create_modules_table.php b/database/migrations/2023_02_02_000001_create_modules_table.php index 964868d..21215d5 100644 --- a/database/migrations/2023_02_02_000001_create_modules_table.php +++ b/database/migrations/2023_02_02_000001_create_modules_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_000002_create_module_allows_table.php b/database/migrations/2023_02_02_000002_create_module_allows_table.php index b229f02..866815a 100644 --- a/database/migrations/2023_02_02_000002_create_module_allows_table.php +++ b/database/migrations/2023_02_02_000002_create_module_allows_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_000003_create_hosts_table.php b/database/migrations/2023_02_02_000003_create_hosts_table.php index 5ac0af9..cfd69ae 100644 --- a/database/migrations/2023_02_02_000003_create_hosts_table.php +++ b/database/migrations/2023_02_02_000003_create_hosts_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -37,8 +35,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_195733_create_tasks_table.php b/database/migrations/2023_02_02_195733_create_tasks_table.php index 9d6c4f7..0645662 100644 --- a/database/migrations/2023_02_02_195733_create_tasks_table.php +++ b/database/migrations/2023_02_02_195733_create_tasks_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -30,8 +28,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_195733_create_user_groups_table.php b/database/migrations/2023_02_02_195733_create_user_groups_table.php index a6129f5..75083cd 100644 --- a/database/migrations/2023_02_02_195733_create_user_groups_table.php +++ b/database/migrations/2023_02_02_195733_create_user_groups_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -29,8 +27,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_195733_create_work_orders_table.php b/database/migrations/2023_02_02_195733_create_work_orders_table.php index b933e65..bf1f55d 100644 --- a/database/migrations/2023_02_02_195733_create_work_orders_table.php +++ b/database/migrations/2023_02_02_195733_create_work_orders_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -35,8 +33,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_02_195734_create_work_order_replies_table.php b/database/migrations/2023_02_02_195734_create_work_order_replies_table.php index 26e62f5..7bff916 100644 --- a/database/migrations/2023_02_02_195734_create_work_order_replies_table.php +++ b/database/migrations/2023_02_02_195734_create_work_order_replies_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -34,8 +32,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_07_012306_add_ip_port_to_modules_table.php b/database/migrations/2023_02_07_012306_add_ip_port_to_modules_table.php index c92eedb..b04df09 100644 --- a/database/migrations/2023_02_07_012306_add_ip_port_to_modules_table.php +++ b/database/migrations/2023_02_07_012306_add_ip_port_to_modules_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_08_024521_set_host_id_nullable_to_tasks_table.php b/database/migrations/2023_02_08_024521_set_host_id_nullable_to_tasks_table.php index 7ce3e06..6feff01 100644 --- a/database/migrations/2023_02_08_024521_set_host_id_nullable_to_tasks_table.php +++ b/database/migrations/2023_02_08_024521_set_host_id_nullable_to_tasks_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_12_233014_add_billing_cycle_to_hosts_table.php b/database/migrations/2023_02_12_233014_add_billing_cycle_to_hosts_table.php index 3e61a75..c020390 100644 --- a/database/migrations/2023_02_12_233014_add_billing_cycle_to_hosts_table.php +++ b/database/migrations/2023_02_12_233014_add_billing_cycle_to_hosts_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -32,8 +30,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_13_161436_add_last_paid_to_hosts_table.php b/database/migrations/2023_02_13_161436_add_last_paid_to_hosts_table.php index 8cf21f6..ec8971e 100644 --- a/database/migrations/2023_02_13_161436_add_last_paid_to_hosts_table.php +++ b/database/migrations/2023_02_13_161436_add_last_paid_to_hosts_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_17_142300_create_maintenances_table.php b/database/migrations/2023_02_17_142300_create_maintenances_table.php index e6fe36c..e241f66 100644 --- a/database/migrations/2023_02_17_142300_create_maintenances_table.php +++ b/database/migrations/2023_02_17_142300_create_maintenances_table.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -35,8 +33,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2023_02_19_235923_remove_cycle_billing_to_hosts.php b/database/migrations/2023_02_19_235923_remove_cycle_billing_to_hosts.php index d70d27c..9e39d31 100644 --- a/database/migrations/2023_02_19_235923_remove_cycle_billing_to_hosts.php +++ b/database/migrations/2023_02_19_235923_remove_cycle_billing_to_hosts.php @@ -8,8 +8,6 @@ { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -22,8 +20,6 @@ public function up(): void /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 1b34743..a9f4519 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -9,8 +9,6 @@ class DatabaseSeeder extends Seeder { /** * Seed the application's database. - * - * @return void */ public function run(): void {