mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-06 13:38:53 +08:00
Fix styling
This commit is contained in:
committed by
github-actions[bot]
parent
1b7c272eb7
commit
2bd9cd6ffd
@@ -60,25 +60,25 @@ class SkeletonServiceProvider extends PackageServiceProvider
|
||||
|
||||
public function packageRegistered(): void
|
||||
{
|
||||
// Facade Registration
|
||||
// Facade Registration
|
||||
$this->app->bind('skeleton', function (): Skeleton {
|
||||
return new Skeleton();
|
||||
});
|
||||
|
||||
// Context Registration
|
||||
// Context Registration
|
||||
$this->app->resolving('skeleton', function () {
|
||||
foreach ($this->getContexts() as $context) {
|
||||
Filament::registerContext($context);
|
||||
}
|
||||
});
|
||||
|
||||
// Asset Registration
|
||||
// Asset Registration
|
||||
$this->app->resolving(AssetManager::class, function () {
|
||||
FilamentAsset::register($this->getAssets(), $this->getAssetPackage());
|
||||
FilamentAsset::registerScriptData($this->getScriptData(), $this->getAssetPackage());
|
||||
});
|
||||
|
||||
// Icon Registration
|
||||
// Icon Registration
|
||||
$this->app->resolving(IconManager::class, function () {
|
||||
FilamentIcon::register($this->getIcons());
|
||||
});
|
||||
@@ -88,7 +88,7 @@ class SkeletonServiceProvider extends PackageServiceProvider
|
||||
{
|
||||
$this->registerMacros();
|
||||
|
||||
// Handle Stubs
|
||||
// Handle Stubs
|
||||
if ($this->app->runningInConsole()) {
|
||||
foreach (app(Filesystem::class)->files(__DIR__.'/../stubs/') as $file) {
|
||||
$this->publishes([
|
||||
@@ -97,7 +97,7 @@ class SkeletonServiceProvider extends PackageServiceProvider
|
||||
}
|
||||
}
|
||||
|
||||
// Testing
|
||||
// Testing
|
||||
TestableLivewire::mixin(new TestsSkeleton());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user