Skip to content

Commit d8ee744

Browse files
committed
Octane support.
1 parent dee32bd commit d8ee744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function register()
8888
}
8989

9090
foreach ($accounts as $account => $config) {
91-
$this->app->singleton("wechat.{$name}.{$account}", function ($laravelApp) use ($name, $account, $config, $class) {
91+
$this->app->bind("wechat.{$name}.{$account}", function ($laravelApp) use ($name, $account, $config, $class) {
9292
$app = new $class(array_merge(config('wechat.defaults', []), $config));
9393
if (config('wechat.defaults.use_laravel_cache')) {
9494
$app['cache'] = $laravelApp['cache.store'];

0 commit comments

Comments
 (0)