<commit_before><?php
/**
 * Project: yii2-easyWeChat.
 * Author: Max.wen
 * Date: <2016/05/10 - 17:17>
 */

namespace maxwen\easywechat;


use yii\base\Component;

/**
 * Class WechatUser
 * @package common\components
 *
 * @property string $openId
 */
class WechatUser extends Component
{
	/**
	 * @var string
	 */
	public $id;
	/**
	 * @var string
	 */
	public $nickname;
	/**
	 * @var string
	 */
	public $name;
	/**
	 * @var string
	 */
	public $email;
	/**
	 * @var string
	 */
	public $avatar;
	/**
	 * @var array
	 */
	public $original;
	/**
	 * @var \Overtrue\Socialite\AccessToken
	 */
	public $token;

	/**
	 * @return string
	 */
	public function getOpenId()
	{
		return isset($this->original['openid']) ? $this->original['openid'] : '';
	}
}<commit_msg>Update WechatUser.php<commit_after><?php
/**
 * Project: yii2-easyWeChat.
 * Author: Max.wen
 * Date: <2016/05/10 - 17:17>
 */

namespace maxwen\easywechat;


use yii\base\Component;

/**
 * Class WechatUser
 * @package common\components
 *
 * @property string $openId
 */
class WechatUser extends Component
{
	/**
	 * @var string
	 */
	public $id;
	/**
	 * @var string
	 */
	public $nickname;
	/**
	 * @var string
	 */
	public $name;
	/**
	 * @var string
	 */
	public $email;
	/**
	 * @var string
	 */
	public $avatar;
	/**
	 * @var array
	 */
	public $original;
	/**
	 * @var \Overtrue\Socialite\AccessToken
	 */
	public $token;
	/**
	 * @var string
	 */
	public $provider

	/**
	 * @return string
	 */
	public function getOpenId()
	{
		return isset($this->original['openid']) ? $this->original['openid'] : '';
	}
}
{'fraction_non_alphanumeric': 0.18647281921618206, 'fraction_numerical': 0.01643489254108723, 'mean_word_length': 2.751184834123223, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2803788', 'n_tokens_mistral': 633, 'n_tokens_neox': 573, 'n_words': 123}