Skip to content

Commit 355b56b

Browse files
committed
rename config.php to changelog.php
1 parent c3d99cd commit 355b56b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.

src/Changelog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Changelog
99
{
1010
private function getFile(): string
1111
{
12-
return config('config.file', base_path('CHANGELOG.md'));
12+
return config('changelog.file', base_path('CHANGELOG.md'));
1313
}
1414

1515
public function raw(): string

src/ChangelogServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function boot()
2121

2222
if ($this->app->runningInConsole()) {
2323
$this->publishes([
24-
__DIR__.'/../config/config.php' => config_path('changelog.php'),
24+
__DIR__ . '/../config/changelog.php' => config_path('changelog.php'),
2525
], 'config');
2626

2727
// Publishing the views.
@@ -50,7 +50,7 @@ public function boot()
5050
public function register()
5151
{
5252
// Automatically apply the package configuration
53-
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'changelog');
53+
$this->mergeConfigFrom(__DIR__ . '/../config/changelog.php', 'changelog');
5454

5555
// Register the main class to use with the facade
5656
$this->app->singleton('changelog', function () {

0 commit comments

Comments
 (0)