|
@@ -19,7 +19,7 @@ discard block |
|
|
block discarded – undo |
|
19
|
19
|
// Publishing the configuration file. Use : |
|
20
|
20
|
// php artisan vendor:publish --provider="Vansteen\Sendinblue\SendinblueServiceProvider" |
|
21
|
21
|
$this->publishes([ |
|
22
|
|
- __DIR__ . '/../config/sendinblue.php' => config_path('sendinblue.php'), |
|
|
22
|
+ __DIR__.'/../config/sendinblue.php' => config_path('sendinblue.php'), |
|
23
|
23
|
], 'sendinblue.config'); |
|
24
|
24
|
} |
|
25
|
25
|
} |
|
@@ -32,12 +32,12 @@ discard block |
|
|
block discarded – undo |
|
32
|
32
|
public function register() |
|
33
|
33
|
{ |
|
34
|
34
|
// Merge the package configuration file with the application's published copy. |
|
35
|
|
- $this->mergeConfigFrom(__DIR__ . '/../config/sendinblue.php', 'sendinblue'); |
|
|
35
|
+ $this->mergeConfigFrom(__DIR__.'/../config/sendinblue.php', 'sendinblue'); |
|
36
|
36
|
|
|
37
|
37
|
// The singleton method binds a class or interface into the container |
|
38
|
38
|
// that should only be resolved one time. Once a singleton binding is resolved, |
|
39
|
39
|
// the same object instance will be returned on subsequent calls into the container |
|
40
|
|
- $this->app->singleton('sendinblue', function () { |
|
|
40
|
+ $this->app->singleton('sendinblue', function() { |
|
41
|
41
|
return new Sendinblue; |
|
42
|
42
|
}); |
|
43
|
43
|
} |
Please login to merge, or discard this patch.