Skip to content

Commit 35c72d2

Browse files
authored
Merge pull request #63 from ac1982/patch-2
make compatibility with laravel 5.4
2 parents 962863e + d9b4f8f commit 35c72d2

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)