We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda0f7d commit 2c2bb40Copy full SHA for 2c2bb40
src/LithiumDev/ExceptionMailer/ExceptionMailerServiceProvider.php
@@ -39,18 +39,6 @@ public function register()
39
__DIR__ . '/../../config/config.php', 'laravel-exception-mailer.config'
40
);
41
42
- $this->app['ExceptionMailer'] = $this->app->share(function ($app)
43
- {
44
- $config = $app['config']['laravel-exception-mailer']['config'];
45
- $eMailer = new ExceptionMailer($config);
46
-
47
- if (in_array($app->environment(), $config['notify_environment']))
48
49
- $eMailer->setEnvironment($app->environment());
50
- }
51
52
- return $eMailer;
53
- });
54
$this->app->singleton('ExceptionMailer',
55
function ($app)
56
{
0 commit comments