Skip to content

Commit ecd8db6

Browse files
Merge pull request #36 from juukie/juukie-service-provider-cleanup
Cleanup
2 parents b542667 + 30a0dc6 commit ecd8db6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/LaravelMailCssInlinerServiceProvider.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@
55

66
class LaravelMailCssInlinerServiceProvider extends ServiceProvider
77
{
8-
9-
/**
10-
* Indicates if loading of the provider is deferred.
11-
*
12-
* @var bool
13-
*/
14-
protected $defer = false;
15-
168
/**
179
* Bootstrap the application events.
1810
*
@@ -35,8 +27,7 @@ public function register()
3527
$this->mergeConfigFrom(__DIR__.'/../config/css-inliner.php', 'css-inliner');
3628

3729
$this->app->singleton('Fedeisas\LaravelMailCssInliner\CssInlinerPlugin', function ($app) {
38-
$options = $app['config']->get('css-inliner');
39-
return new CssInlinerPlugin($options);
30+
return new CssInlinerPlugin($app['config']->get('css-inliner'));
4031
});
4132

4233
$this->app->extend('swift.mailer', function (Swift_Mailer $swiftMailer, $app) {

0 commit comments

Comments
 (0)