Skip to content

Commit

Permalink
Rename methods
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni committed Jun 22, 2024
1 parent 17e1864 commit ae4b614
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,17 @@ class ServiceProvider extends AddonServiceProvider
public function bootAddon(): void
{
$this
->bootAddonStores()
->bootAddonNav()
->bootAddonPermissions()
->bootStores()
->bootNav()
->bootPermissions()
->bootGit()
->bootCascade()
->bootViewCascade()
->bootBladeDirective()
->bootGraphQL()
->autoPublishConfig();
}

protected function bootAddonStores(): self
protected function bootStores(): self
{
$seoStore = app(SeoStore::class)->directory(config('advanced-seo.directory'));

Expand All @@ -132,7 +132,7 @@ protected function bootAddonStores(): self
return $this;
}

protected function bootAddonNav(): self
protected function bootNav(): self
{
Nav::extend(function ($nav) {
Defaults::enabled()
Expand All @@ -158,7 +158,7 @@ protected function bootAddonNav(): self
return $this;
}

protected function bootAddonPermissions(): self
protected function bootPermissions(): self
{
Permission::extend(function () {
Permission::group('advanced-seo', 'Advanced SEO', function () {
Expand Down Expand Up @@ -199,7 +199,7 @@ protected function bootGit(): self
return $this;
}

protected function bootCascade(): self
protected function bootViewCascade(): self
{
View::composer([
...Arr::wrap(config('advanced-seo.view_composer', '*')),
Expand Down

0 comments on commit ae4b614

Please sign in to comment.