<commit_before><?php namespace jlourenco\base\Database;

use Illuminate\Database\Connection;
use Illuminate\Database\Schema\Blueprint as IlluminateBlueprint;
use Illuminate\Database\Schema\Grammars\MySqlGrammar as IlluminateMySqlGrammar;
use Illuminate\Support\Fluent;

/**
 * Extended version of MySqlGrammar with
 * support of 'set' data type
 */
class MySqlGrammar extends IlluminateMySqlGrammar {

    /**
     *
     * @return void
     */
    public function __construct()
    {
        if ( ! in_array('Collate', $this->modifiers) )
        {
            array_splice($this->modifiers, array_search('Unsigned', $this->modifiers) + 1, 0, 'Collate');
        }
        // new versions of Laravel already have comment modifier
        if ( ! in_array('Comment', $this->modifiers) )
        {
            array_splice($this->modifiers, array_search('After', $this->modifiers) - 1, 0, 'Comment');
        }
    }
<commit_msg>Removed comment on the constructor.<commit_after><?php namespace jlourenco\base\Database;

use Illuminate\Database\Connection;
use Illuminate\Database\Schema\Blueprint as IlluminateBlueprint;
use Illuminate\Database\Schema\Grammars\MySqlGrammar as IlluminateMySqlGrammar;
use Illuminate\Support\Fluent;

/**
 * Extended version of MySqlGrammar with
 * support of 'set' data type
 */
class MySqlGrammar extends IlluminateMySqlGrammar {

    public function __construct()
    {
        if ( ! in_array('Collate', $this->modifiers) )
        {
            array_splice($this->modifiers, array_search('Unsigned', $this->modifiers) + 1, 0, 'Collate');
        }
        // new versions of Laravel already have comment modifier
        if ( ! in_array('Comment', $this->modifiers) )
        {
            array_splice($this->modifiers, array_search('After', $this->modifiers) - 1, 0, 'Comment');
        }
    }

{'fraction_non_alphanumeric': 0.11947626841243862, 'fraction_numerical': 0.00436442989634479, 'mean_word_length': 3.235565819861432, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '3803914', 'n_tokens_mistral': 555, 'n_tokens_neox': 570, 'n_words': 122}