Skip to content

Commit ab624ea

Browse files
authored
Update to support Laravel 5.4
1 parent 11905e3 commit ab624ea

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)