<commit_before><?php
/**
 * I made changes in this code (by <NAME>).
 */

namespace PFBC\Element;

use PH7\Framework\Mvc\Model\DbConfig;

class Date extends Textbox
{
    public function render()
    {
        $this->validation[] = new \PFBC\Validation\Date;

        $iCurrentYear = date('Y');
        $iMin = $iCurrentYear - DbConfig::getSetting('maxAgeRegistration');
        $iMax = $iCurrentYear - DbConfig::getSetting('minAgeRegistration');

        $this->attributes['type'] = 'date';
        $this->attributes['min'] = $iMin;
        $this->attributes['max'] = $iMax;

        parent::render();
    }
}
<commit_msg>Fixed typo<commit_after><?php
/**
 * I made changes in this file (by <NAME>).
 */

namespace PFBC\Element;

use PH7\Framework\Mvc\Model\DbConfig;

class Date extends Textbox
{
    public function render()
    {
        $this->validation[] = new \PFBC\Validation\Date;

        $iCurrentYear = date('Y');
        $iMin = $iCurrentYear - DbConfig::getSetting('maxAgeRegistration');
        $iMax = $iCurrentYear - DbConfig::getSetting('minAgeRegistration');

        $this->attributes['type'] = 'date';
        $this->attributes['min'] = $iMin;
        $this->attributes['max'] = $iMax;

        parent::render();
    }
}

{'fraction_non_alphanumeric': 0.16733708769107, 'fraction_numerical': 0.0016090104585679806, 'mean_word_length': 2.9871794871794872, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '1790483', 'n_tokens_mistral': 401, 'n_tokens_neox': 386, 'n_words': 77}