Skip to content

Commit e2bc56e

Browse files
committedSep 19, 2020
composer 2 compatability
1 parent bf59650 commit e2bc56e

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed
 

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"minimum-stability": "dev",
1818
"autoload": {
1919
"psr-4": {
20-
"Web64\\LaravelNlp\\": "src/"
20+
"Web64\\LaravelNlp\\": "src"
2121
}
2222
},
2323
"extra": {
File renamed without changes.
File renamed without changes.

‎src/LaravelNlp/NlpServiceProvider.php renamed to ‎src/NlpServiceProvider.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,15 @@ public function register()
3535
{
3636
$app = $this->app ?: app();
3737

38-
$this->mergeConfigFrom(__DIR__.'/../config/nlp.php', 'nlp');
38+
$this->mergeConfigFrom(__DIR__.'/config/nlp.php', 'nlp');
3939

4040
$this->publishes([
41-
__DIR__.'/../config/nlp.php' => config_path('nlp.php'),
41+
__DIR__.'/config/nlp.php' => config_path('nlp.php'),
4242
]);
4343

4444
$this->app->singleton(\Web64\LaravelNlp\LaravelNlp::class, function () use ($app) {
4545
$config = $app['config']->get('nlp');
4646

47-
//$config = config('nlp');
48-
//dump( $config );
4947
return new \Web64\LaravelNlp\LaravelNlp($config);
5048
});
5149
}

0 commit comments

Comments
 (0)