mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
chore: fix code style
This commit is contained in:
committed by
github-actions[bot]
parent
d0eb0dacb8
commit
c1b68c48fd
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Filament\Actions\ActionsServiceProvider;
|
||||
use Filament\Billing\Providers\StripeBillingProviderServiceProvider;
|
||||
use Filament\FilamentServiceProvider;
|
||||
use Filament\Forms\FormsServiceProvider;
|
||||
use Filament\Notifications\NotificationsServiceProvider;
|
||||
|
||||
@@ -12,7 +12,6 @@ use Filament\Http\Livewire\GlobalSearch;
|
||||
use Filament\Http\Livewire\Notifications;
|
||||
use Filament\Navigation\MenuItem;
|
||||
use Filament\Navigation\NavigationGroup;
|
||||
use Filament\Navigation\UserMenuItem;
|
||||
use Filament\Pages\Page;
|
||||
use Filament\Resources\RelationManagers\RelationGroup;
|
||||
use Filament\Resources\Resource;
|
||||
@@ -29,7 +28,6 @@ use Illuminate\Support\HtmlString;
|
||||
use Livewire\Component;
|
||||
use Livewire\Livewire;
|
||||
use ReflectionClass;
|
||||
use Symfony\Component\Finder\SplFileInfo;
|
||||
|
||||
class Context
|
||||
{
|
||||
|
||||
@@ -14,5 +14,6 @@ class TenantSet
|
||||
public function __construct(
|
||||
protected Model $tenant,
|
||||
protected Model | Authenticatable | HasTenants $user,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ abstract class RegisterTenant extends Component implements HasForms
|
||||
|
||||
protected static string $slug = 'new';
|
||||
|
||||
abstract static function getLabel(): string;
|
||||
abstract public static function getLabel(): string;
|
||||
|
||||
public static function routes(): void
|
||||
{
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
namespace Filament\Resources\Pages;
|
||||
|
||||
use Closure;
|
||||
use Filament\Facades\Filament;
|
||||
use Filament\Pages\Page as BasePage;
|
||||
use Filament\Resources\Resource;
|
||||
use Illuminate\Routing\Route;
|
||||
|
||||
@@ -10,7 +10,8 @@ class PageRegistration
|
||||
public function __construct(
|
||||
protected string $page,
|
||||
protected Closure $route,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function registerRoute(): ?Route
|
||||
{
|
||||
|
||||
@@ -5,7 +5,6 @@ namespace Filament\Tests;
|
||||
use BladeUI\Heroicons\BladeHeroiconsServiceProvider;
|
||||
use BladeUI\Icons\BladeIconsServiceProvider;
|
||||
use Filament\Actions\ActionsServiceProvider;
|
||||
use Filament\Billing\Providers\StripeBillingProviderServiceProvider;
|
||||
use Filament\FilamentServiceProvider;
|
||||
use Filament\Forms\FormsServiceProvider;
|
||||
use Filament\Notifications\NotificationsServiceProvider;
|
||||
|
||||
Reference in New Issue
Block a user