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