<commit_before><?php

namespace Rido\MDR\Models;

class DnsRecord extends Model
{
    /**
     * @var array
     */
    protected $fillable = [
        'domein',
        'tld',
        'record_id',
        'type',
        'host',
        'address',
        'priority',
        'weight',
        'port',
    ];

    /**
     * @param array $attributes
     *
     * @return array
     */
    public function create(array $attributes)
    {
        $this->fill($attributes);

        $result = $this->connection->put('dns_record_add', $this->attributes);

        return $result;
    }

    /**
     * @param array $attributes
     *
     * @return array
     */
    public function update(array $attributes = [])
    {
        $this->fill($attributes);

        $result = $this->connection->put('dns_record_modify', $this->attributes);

        return $result;
    }

    /**
     * @param array $attributes
     *
     * @return array
     */
    public function remove(array $attributes = [])
    {
        $this->fill($attributes);

        $result = $this->connection->put('dns_record_del', $this->attributes);

        return $result;
    }
}<commit_msg>TTL Modify<commit_after><?php

namespace Rido\MDR\Models;

class DnsRecord extends Model
{
    /**
     * @var array
     */
    protected $fillable = [
        'domein',
        'tld',
        'record_id',
        'type',
        'host',
        'address',
        'priority',
        'weight',
        'port',
    ];

    /**
     * @param array $attributes
     *
     * @return array
     */
    public function create(array $attributes)
    {
        $this->fill($attributes);

        $result = $this->connection->put('dns_record_add', $this->attributes);

        return $result;
    }

    /**
     * @param array $attributes
     *
     * @return array
     */
    public function update(array $attributes = [])
    {
        $this->fill($attributes);

        $result = $this->connection->put('dns_record_modify', $this->attributes);

        return $result;
    }

    /**
     * @param array $attributes
     *
     * @return array
     */
    public function ttl(array $attributes = [])
    {
        $this->fill($attributes);

        $result = $this->connection->put('dns_ttl_modify', $this->attributes);

        return $result;
    }

    /**
     * @param array $attributes
     *
     * @return array
     */
    public function remove(array $attributes = [])
    {
        $this->fill($attributes);

        $result = $this->connection->put('dns_record_del', $this->attributes);

        return $result;
    }
}
{'fraction_non_alphanumeric': 0.1544998068752414, 'fraction_numerical': 0.0, 'mean_word_length': 1.8461538461538463, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, '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': '3931958', 'n_tokens_mistral': 796, 'n_tokens_neox': 771, 'n_words': 146}