Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Added some typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jan 3, 2016
1 parent 651cd1b commit 391510b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BugsnagServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function register()
*/
protected function registerBugsnag()
{
$this->app->singleton('bugsnag', function ($app) {
$this->app->singleton('bugsnag', function (Application $app) {
$bugsnag = new Bugsnag($app->config->get('bugsnag.key'));

$bugsnag->setStripPath($app['path.base']);
Expand All @@ -94,7 +94,7 @@ protected function registerBugsnag()
*/
protected function registerLogger()
{
$this->app->singleton('bugsnag.logger', function ($app) {
$this->app->singleton('bugsnag.logger', function (Application $app) {
$bugsnag = $app['bugsnag'];
$user = function () use ($app) {
if ($user = $app->auth->user()) {
Expand Down

0 comments on commit 391510b

Please sign in to comment.