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.
2 parents 962863e + d9b4f8f commit 35c72d2Copy full SHA for 35c72d2
src/ServiceProvider.php
@@ -59,7 +59,7 @@ protected function setupConfig()
59
*/
60
public function register()
61
{
62
- $this->app->singleton(['EasyWeChat\\Foundation\\Application' => 'wechat'], function ($app) {
+ $this->app->singleton(\EasyWeChat\Foundation\Application::class, function ($app) {
63
$app = new Application(config('wechat'));
64
65
if (config('wechat.use_laravel_cache')) {
0 commit comments