<commit_before><?php
/**
 * Created by PhpStorm.
 * User: Zach
 * Date: 4/29/2017
 * Time: 2:59 AM
 */

namespace Rgbvader\OAuth;


use League\OAuth2\Client\Provider\ResourceOwnerInterface;

class User implements ResourceOwnerInterface
{
    /** @var  User Id */
    protected $data = array();

    public function getId()
    {
        return $this->id;
    }

    public function toArray()
    {
        return $this->data;
    }

    public function __get($name)
    {
        if (array_key_exists($name, $this->data)) {
            return $this->data[$name];
        }

        return null;
    }

    public function __construct(array $data)
    {<commit_msg>Remove confusing comment<commit_after><?php
/**
 * Created by PhpStorm.
 * User: Zach
 * Date: 4/29/2017
 * Time: 2:59 AM
 */

namespace Rgbvader\OAuth;


use League\OAuth2\Client\Provider\ResourceOwnerInterface;

class User implements ResourceOwnerInterface
{
    protected $data = array();

    public function getId()
    {
        return $this->id;
    }

    public function toArray()
    {
        return $this->data;
    }

    public function __get($name)
    {
        if (array_key_exists($name, $this->data)) {
            return $this->data[$name];
        }

        return null;
    }

    public function __construct(array $data)
    {
{'fraction_non_alphanumeric': 0.1232876712328767, 'fraction_numerical': 0.0167427701674277, 'mean_word_length': 2.329113924050633, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '5164003', 'n_tokens_mistral': 432, 'n_tokens_neox': 407, 'n_words': 97}