Skip to content

Commit

Permalink
Publish blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
BobWez98 committed Nov 1, 2024
1 parent 28e8c88 commit 8ebff9f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,28 @@ public function register()
}

public function bootAddon(): void
{
$this->bootRunway()
->bootPublishables();
}

public function bootRunway(): self
{
config(['runway.resources' => array_merge(
[LanguageLine::class => [
'name' => 'Translations',
]],
config('runway.resources') ?? []
)]);

return $this;
}

public function bootPublishables(): self
{
$this->publishes([

Check failure on line 36 in src/ServiceProvider.php

View workflow job for this annotation

GitHub Actions / P8.3 - L11.* - prefer-stable - ubuntu-latest

Method Justbetter\StatamicTranslationManagement\ServiceProvider::bootPublishables() should return Justbetter\StatamicTranslationManagement\ServiceProvider but return statement is missing.
__DIR__.'/../resources/blueprints/vendor/runway' =>
resource_path('blueprints/vendor/runway'),
]);
}
}

0 comments on commit 8ebff9f

Please sign in to comment.