We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee32bd commit d8ee744Copy full SHA for d8ee744
src/ServiceProvider.php
@@ -88,7 +88,7 @@ public function register()
88
}
89
90
foreach ($accounts as $account => $config) {
91
- $this->app->singleton("wechat.{$name}.{$account}", function ($laravelApp) use ($name, $account, $config, $class) {
+ $this->app->bind("wechat.{$name}.{$account}", function ($laravelApp) use ($name, $account, $config, $class) {
92
$app = new $class(array_merge(config('wechat.defaults', []), $config));
93
if (config('wechat.defaults.use_laravel_cache')) {
94
$app['cache'] = $laravelApp['cache.store'];
0 commit comments