Skip to content

Commit 046dbaa

Browse files
authored
Merge pull request #49 from wins1908/master
Update to support Laravel 5.4
2 parents 11905e3 + ab624ea commit 046dbaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Intouch/LaravelNewrelic/NewrelicServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public function boot()
5151
*/
5252
public function register()
5353
{
54-
$this->app['newrelic'] = $this->app->share(
54+
$this->app->singleton(
55+
'newrelic',
5556
function ( $app ) {
5657
return new Newrelic( $app['config']->get( 'newrelic.throw_if_not_installed' ) );
5758
}

0 commit comments

Comments
 (0)