File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function register()
39
39
40
40
$ app = $ this ->app ;
41
41
42
- $ this ->app [ ' RollbarNotifier ' ] = $ this -> app -> singleton (function ($ app ) {
42
+ $ this ->app -> singleton (' RollbarNotifier ' , function ($ app ) {
43
43
// Default configuration.
44
44
$ defaults = [
45
45
'environment ' => $ app ->environment (),
@@ -59,7 +59,7 @@ public function register()
59
59
return $ rollbar ;
60
60
});
61
61
62
- $ this ->app [ 'Jenssegers\Rollbar\RollbarLogHandler ' ] = $ this -> app -> singleton ( function ($ app ) {
62
+ $ this ->app -> singleton ( 'Jenssegers\Rollbar\RollbarLogHandler ' , function ($ app ) {
63
63
$ level = getenv ('ROLLBAR_LEVEL ' ) ?: $ app ['config ' ]->get ('services.rollbar.level ' , 'debug ' );
64
64
65
65
return new RollbarLogHandler ($ app ['RollbarNotifier ' ], $ app , $ level );
You can’t perform that action at this time.
0 commit comments