Skip to content

Commit

Permalink
Merge pull request #63 from ac1982/patch-2
Browse files Browse the repository at this point in the history
make compatibility with laravel 5.4
  • Loading branch information
overtrue committed Jan 25, 2017
2 parents 962863e + d9b4f8f commit 35c72d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function setupConfig()
*/
public function register()
{
$this->app->singleton(['EasyWeChat\\Foundation\\Application' => 'wechat'], function ($app) {
$this->app->singleton(\EasyWeChat\Foundation\Application::class, function ($app) {
$app = new Application(config('wechat'));

if (config('wechat.use_laravel_cache')) {
Expand Down

0 comments on commit 35c72d2

Please sign in to comment.