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.
1 parent 0532f45 commit 94d4fd3Copy full SHA for 94d4fd3
src/Middleware/OAuthAuthenticate.php
@@ -12,6 +12,7 @@
12
namespace Overtrue\LaravelWeChat\Middleware;
13
14
use Closure;
15
+use EasyWeChat\OfficialAccount\Application;
16
use Event;
17
use Log;
18
use Overtrue\LaravelWeChat\Events\WeChatUserAuthorized;
@@ -28,8 +29,10 @@ class OAuthAuthenticate
28
29
30
/**
31
* Inject the wechat service.
32
+ *
33
+ * @param \EasyWeChat\OfficialAccount\Application $wechat
34
*/
- public function __construct($wechat)
35
+ public function __construct(Application $wechat)
36
{
37
$this->wechat = $wechat;
38
}
0 commit comments