From bdc3185854c1583d15d559b7e0fcd17e973aa2f8 Mon Sep 17 00:00:00 2001 From: tabuna Date: Wed, 27 Mar 2024 21:39:43 +0000 Subject: [PATCH] Fixed code style --- app/Providers/AppServiceProvider.php | 1 - app/Services/TelegramBot.php | 2 +- bootstrap/app.php | 6 +++--- config/app.php | 3 --- routes/console.php | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index b9f937b5..96ec338d 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -54,7 +54,6 @@ public function boot(): void return Limit::perMinute(30)->by($request->user()?->id ?: $request->ip()); }); - Paginator::useBootstrapFive(); Blade::component('github', Github::class); diff --git a/app/Services/TelegramBot.php b/app/Services/TelegramBot.php index dc000013..02cd43fa 100644 --- a/app/Services/TelegramBot.php +++ b/app/Services/TelegramBot.php @@ -106,7 +106,7 @@ public function isSpam(?string $message, $userId = null): bool /** * Send notification to Telegram. */ - static function notificationToTelegram($exception): void + public static function notificationToTelegram($exception): void { if (config('app.env') == 'local') { return; diff --git a/bootstrap/app.php b/bootstrap/app.php index 1540100d..6c93f005 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -1,15 +1,15 @@ withRouting( - web: __DIR__ . '/../routes/web.php', - commands: __DIR__ . '/../routes/console.php', + web: __DIR__.'/../routes/web.php', + commands: __DIR__.'/../routes/console.php', health: '/up', ) ->withMiddleware(function (Middleware $middleware) { diff --git a/config/app.php b/config/app.php index 6b0799e7..6ac60fb7 100644 --- a/config/app.php +++ b/config/app.php @@ -1,8 +1,5 @@ purpose('Update information about users packages'); - /* |-------------------------------------------------------------------------- | Schedule