Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored and github-actions[bot] committed Mar 27, 2024
1 parent 0cc183f commit bdc3185
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
1 change: 0 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion app/Services/TelegramBot.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

use App\Http\Middleware\SetDefaultVersionForUrl;
use App\Http\Middleware\RedirectToBanPage;
use App\Http\Middleware\SetDefaultVersionForUrl;
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;

return Application::configure(basePath: dirname(__DIR__))
->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) {
Expand Down
3 changes: 0 additions & 3 deletions config/app.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

use Illuminate\Support\Facades\Facade;
use Illuminate\Support\ServiceProvider;

return [

/*
Expand Down
3 changes: 1 addition & 2 deletions routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
use App\Jobs\UpdateStatusPackages;
use App\Models\CodeSnippet;
use App\Models\Package;
use Illuminate\Support\Facades;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Facades;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Process;
use Illuminate\Support\Facades\Storage;
Expand Down Expand Up @@ -44,7 +44,6 @@
});
})->purpose('Update information about users packages');


/*
|--------------------------------------------------------------------------
| Schedule
Expand Down

0 comments on commit bdc3185

Please sign in to comment.