<commit_before><?php

namespace Gitlab\Model;

use Gitlab\Client;

class Node extends AbstractModel
{
    protected static $_properties = array(
        'name',
        'type',
        'mode',
        'id'
    );

    public static function fromArray(Client $client, Project $project, array $data)
    {
        $node = new Node($project, $data['id'], $client);

        return $node->hydrate($data);
    }

    public function __construct(Project $project, $id = null, Client $client)
    {
        $this->setClient($client);

        $this->project = $project;
        $this->id = $id;
    }
}<commit_msg>Added missing 'project' property for Node model<commit_after><?php

namespace Gitlab\Model;

use Gitlab\Client;

class Node extends AbstractModel
{
    protected static $_properties = array(
        'name',
        'type',
        'mode',
        'id',
        'project'
    );

    public static function fromArray(Client $client, Project $project, array $data)
    {
        $node = new Node($project, $data['id'], $client);

        return $node->hydrate($data);
    }

    public function __construct(Project $project, $id = null, Client $client)
    {
        $this->setClient($client);

        $this->project = $project;
        $this->id = $id;
    }
}
{'fraction_non_alphanumeric': 0.13970007892659828, 'fraction_numerical': 0.0, 'mean_word_length': 2.4835164835164836, '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': '5492469', 'n_tokens_mistral': 382, 'n_tokens_neox': 372, 'n_words': 99}