Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Commit 47376b5

Browse files
committed
fix service provider
1 parent a203c70 commit 47376b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/XeroServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ public function register()
5252
$this->mergeConfigFrom(__DIR__.'/config/config.php', 'xero');
5353

5454
$this->app->singleton(PrivateApplication::class, function ($app) {
55-
return new PrivateApplication(array_get($app, 'config.xero'));
55+
return new PrivateApplication(array_get($app['config'], 'xero'));
5656
});
5757

5858
$this->app->singleton(PublicApplication::class, function ($app) {
59-
return new PublicApplication(array_get($app, 'config.xero'));
59+
return new PublicApplication(array_get($app['config'], 'xero'));
6060
});
6161

6262
$this->app->singleton(PartnerApplication::class, function ($app) {
63-
return new PartnerApplication(array_get($app, 'config.xero'));
63+
return new PartnerApplication(array_get($app['config'], 'xero'));
6464
});
6565
}
6666

0 commit comments

Comments
 (0)