Skip to content

Commit 41f6c73

Browse files
authored
make compatibility with laravel 5.4
remove slashes.
1 parent 962863e commit 41f6c73

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
@@ -59,7 +59,7 @@ protected function setupConfig()
5959
*/
6060
public function register()
6161
{
62-
$this->app->singleton(['EasyWeChat\\Foundation\\Application' => 'wechat'], function ($app) {
62+
$this->app->singleton(\easyWeChat\Foundation\Application::class, function ($app) {
6363
$app = new Application(config('wechat'));
6464

6565
if (config('wechat.use_laravel_cache')) {

0 commit comments

Comments
 (0)