Skip to content

Commit 81d4a18

Browse files
authored
fix the alias problem
Application was as EasyWeChatApplication, so fix it in class.
1 parent c32c4d4 commit 81d4a18

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ protected function setupConfig()
6060
public function register()
6161
{
6262
$this->app->singleton(EasyWeChatApplication::class, function ($app) {
63-
$app = new Application(config('wechat'));
64-
63+
$app = new EasyWeChatApplication(config('wechat'));
6564
if (config('wechat.use_laravel_cache')) {
6665
$app->cache = new CacheBridge();
6766
}

0 commit comments

Comments
 (0)