{"action":"closed","issue":{"url":"https://api.github.com/repos/overtrue/wechat/issues/4","labels_url":"https://api.github.com/repos/overtrue/wechat/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/overtrue/wechat/issues/4/comments","events_url":"https://api.github.com/repos/overtrue/wechat/issues/4/events","html_url":"https://github.com/overtrue/wechat/issues/4","id":65027887,"number":4,"title":"Using $this when not in object context","user":{"login":"wqcsimple","id":7285280,"avatar_url":"https://avatars.githubusercontent.com/u/7285280?v=3","gravatar_id":"","url":"https://api.github.com/users/wqcsimple","html_url":"https://github.com/wqcsimple","followers_url":"https://api.github.com/users/wqcsimple/followers","following_url":"https://api.github.com/users/wqcsimple/following{/other_user}","gists_url":"https://api.github.com/users/wqcsimple/gists{/gist_id}","starred_url":"https://api.github.com/users/wqcsimple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wqcsimple/subscriptions","organizations_url":"https://api.github.com/users/wqcsimple/orgs","repos_url":"https://api.github.com/users/wqcsimple/repos","events_url":"https://api.github.com/users/wqcsimple/events{/privacy}","received_events_url":"https://api.github.com/users/wqcsimple/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-29T05:53:36Z","updated_at":"2015-03-29T16:12:15Z","closed_at":"2015-03-29T16:12:15Z","body":"```php\r\n$options = array(\r\n    'appId'          => 'xxxx',\r\n    'secret'         => 'xxxxxx'\r\n    'token'          => 'xxxx',\r\n    'encodingAESKey' => 'xxx'\r\n);\r\n\r\n\r\n\r\n$wechat = Wechat::make($options);\r\n$wechat->on('message', function($message) {\r\n    return Message::make('text')->content('您好！'.$message->FromUserName);\r\n});\r\n\r\n\r\n$result = $wechat->serve();\r\n\r\necho $result;\r\n```\r\n 我这么写了，可是网页上出现下面这个错误\r\nFatal error: Using $this when not in object context in /var/www/html/wwhis.com/www/src/Wechat/Wechat.php on line 113"}}