Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpar06 authored and StyleCIBot committed May 24, 2024
1 parent b18598e commit 2e5cd54
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
7 changes: 2 additions & 5 deletions app/Filament/Plugins/ModuleLinksPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

class ModuleLinksPlugin implements Plugin
{

public function getId(): string
{
return 'module-links';
Expand All @@ -23,11 +22,10 @@ public static function make(): static
public function register(Panel $panel): void
{
$panel->renderHook('panels::topbar.start', function () {

return view('filament.plugins.module-links', [
'current_panel' => Filament::getCurrentPanel(),
'panels' => Filament::getPanels(),
'old_links' => array_filter(app(ModuleService::class)->getAdminLinks(), static fn (array $link): bool => !str_contains($link['title'], 'Sample'))
'panels' => Filament::getPanels(),
'old_links' => array_filter(app(ModuleService::class)->getAdminLinks(), static fn (array $link): bool => !str_contains($link['title'], 'Sample')),
]);
});
}
Expand All @@ -36,5 +34,4 @@ public function boot(Panel $panel): void
{
//
}

}
1 change: 0 additions & 1 deletion app/Filament/Resources/PirepResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use App\Repositories\AirportRepository;
use App\Services\PirepService;
use App\Support\Units\Time;
use Filament\Facades\Filament;
use Filament\Forms;
use Filament\Forms\Components\DatePicker;
use Filament\Forms\Form;
Expand Down
2 changes: 1 addition & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function panel(Panel $panel): Panel
FilamentShieldPlugin::make(),
FilamentSpatieLaravelBackupPlugin::make()
->usingPage(Backups::class),
ModuleLinksPlugin::make()
ModuleLinksPlugin::make(),
])
->bootUsing(function () {
activity()->enableLogging();
Expand Down
5 changes: 2 additions & 3 deletions config/money.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?php

return [

'defaults' => [

'currency' => env('MONEY_DEFAULTS_CURRENCY', 'USD'),
'currency' => env('MONEY_DEFAULTS_CURRENCY', 'USD'),

'convert' => env('MONEY_DEFAULTS_CONVERT', false),
'convert' => env('MONEY_DEFAULTS_CONVERT', false),

],

Expand Down

0 comments on commit 2e5cd54

Please sign in to comment.