<commit_before><?php
namespace Fminor\Core\Request;

abstract class RequestAbstract
{
    static function filter($requests)
    {
        return array_filter($requests, function ($request) {
            $class = get_class();
            return ($request instanceof $class);
        });
    }
}
<commit_msg>added id variable with setter and getter<commit_after><?php
namespace Fminor\Core\Request;

abstract class RequestAbstract
{
    private $id;
    static function filter($requests)
    {
        return array_filter($requests, function ($request) {
            $class = get_class();
            return ($request instanceof $class);
        });
    }
    public function getId()
    {
        return $this->id;
    }
    public function setId($id)
    {
        $this->id = $id;

        return $this;
    }
}

{'fraction_non_alphanumeric': 0.11439114391143912, 'fraction_numerical': 0.0, 'mean_word_length': 2.3497942386831276, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7290437', 'n_tokens_mistral': 226, 'n_tokens_neox': 224, 'n_words': 58}