Skip to content

Commit

Permalink
Apply fixes from StyleCI (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mechelon authored Jan 6, 2025
1 parent c1d2bb5 commit 3bdb3f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/AdaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ class AdaServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->loadViewsFrom(__DIR__ . '/../resources/views/prompts', 'ada');
$this->loadViewsFrom(__DIR__.'/../resources/views/prompts', 'ada');

if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__ . '/../config/ada.php' => config_path('ada.php'),
__DIR__.'/../config/ada.php' => config_path('ada.php'),
], 'ada-config');
}
}
Expand All @@ -30,20 +30,20 @@ public function boot()
*/
public function register()
{
$this->mergeConfigFrom(__DIR__ . '/../config/ada.php', 'ada');
$this->mergeConfigFrom(__DIR__.'/../config/ada.php', 'ada');

$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');

$this->publishes([
__DIR__ . '/../config/ada.php' => config_path('ada.php'),
__DIR__.'/../config/ada.php' => config_path('ada.php'),
], 'ada-config');

$this->publishes([
__DIR__ . '/../database/migrations' => database_path('migrations'),
__DIR__.'/../database/migrations' => database_path('migrations'),
], 'ada-migrations');

$this->publishes([
__DIR__ . '/../resources/views' => resource_path('views/vendor/ada'),
__DIR__.'/../resources/views' => resource_path('views/vendor/ada'),
], 'ada-views');

$this->app->singleton('ada', function () {
Expand Down

0 comments on commit 3bdb3f0

Please # to comment.