Skip to content

Commit

Permalink
Use isset instead of resolved, fixes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Jun 6, 2015
1 parent ca0dea5 commit 063f9c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/.styleci.yml export-ignore
/phpunit.xml export-ignore

2 changes: 1 addition & 1 deletion src/RollbarServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function register()
// are unsent error messages in the internal queue, so let's flush them.
register_shutdown_function(function () use ($app)
{
if ($app->resolved('rollbar.client'))
if (isset($app['rollbar.client']))
{
$app['rollbar.client']->flush();
}
Expand Down

0 comments on commit 063f9c3

Please sign in to comment.