Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnilsarwe authored and actions-user committed Apr 4, 2022
1 parent 680866e commit 79480fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/BladeGoogleMaterialDesignIconsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ public function register(): void
$this->callAfterResolving(Factory::class, function (Factory $factory, Container $container) {
$config = $container->make('config')->get('blade-google-material-design-icons', []);

$factory->add('google-material-design-icons', array_merge(['path' => __DIR__.'/../resources/svg'], $config));
$factory->add('google-material-design-icons', array_merge(['path' => __DIR__ . '/../resources/svg'], $config));
});
}

private function registerConfig(): void
{
$this->mergeConfigFrom(__DIR__.'/../config/blade-google-material-design-icons.php', 'blade-google-material-design-icons');
$this->mergeConfigFrom(__DIR__ . '/../config/blade-google-material-design-icons.php', 'blade-google-material-design-icons');
}

public function boot(): void
{
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__.'/../resources/svg' => public_path('vendor/blade-google-material-design-icons'),
__DIR__ . '/../resources/svg' => public_path('vendor/blade-google-material-design-icons'),
], 'blade-gmdi'); // TODO: updating this alias to `blade-google-material-design-icons` in next major release

$this->publishes([
__DIR__.'/../config/blade-google-material-design-icons.php' => $this->app->configPath('blade-google-material-design-icons.php'),
__DIR__ . '/../config/blade-google-material-design-icons.php' => $this->app->configPath('blade-google-material-design-icons.php'),
], 'blade-google-material-design-icons-config');
}
}
Expand Down

0 comments on commit 79480fc

Please sign in to comment.