Skip to content

Commit b774927

Browse files
author
Ilya Sakovich
committed
changes config file name
1 parent 298c3eb commit b774927

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
File renamed without changes.

src/Providers/SharedDataServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SharedDataServiceProvider extends ServiceProvider
1515
public function boot()
1616
{
1717
$this->publishes([
18-
__DIR__.'/../../config/shared_data.php' => config_path('shared_data.php'),
18+
__DIR__.'/../../config/shared-data.php' => config_path('shared-data.php'),
1919
], 'shared-data-config');
2020
}
2121

@@ -27,12 +27,12 @@ public function boot()
2727
public function register()
2828
{
2929
$this->mergeConfigFrom(
30-
__DIR__.'/../../config/shared_data.php',
31-
'shared_data'
30+
__DIR__.'/../../config/shared-data.php',
31+
'shared-data'
3232
);
3333

3434
$this->app->singleton(SharedData::class, function () {
35-
return new SharedData($this->app['config']['shared_data']);
35+
return new SharedData($this->app['config']['shared-data']);
3636
});
3737
}
3838
}

0 commit comments

Comments
 (0)