<commit_before><?php

namespace KekoApp\LaravelMetaTags;

use Illuminate\Http\Request;
use Illuminate\Support\Arr;

class MetaTag
{

    /**
     * Instance of request
     *
     * @var \Illuminate\Http\Request
     */
    private $request;

    /**
     * @var array
     */
    private $config = [];

    /**
     * Locale default for app.
     *
     * @var string
     */
    private $defaultLocale = '';

    /**
     * @var array
     */
    private $metas = [];

    /**
     * @var string
     */
    private $title;

    /**
     * OpenGraph elements
     *
     * @var array
     */
    private $og = [
        'title',
        'description',
        'type',
        'image',
        'url',
        'audio',
        'determiner',
        'locale',
        'site_name',
        'video',
    ];

    /**
     * Twitter card elements
     *
     * @var array
     */
    private $twitter = [
        'card',
        'site',
        'title',
        'description',
        'creator',
        'image:src',
        'domain',
    ];


    /**
     * @param  \Illuminate\Http\Request $request
     * @param  array                    $config
     * @param  string                   $defaultLocale
     */
    public function __construct(Request $request, array $config, $defaultLocale)
    {
        $this->request = $request;
        $this->config = $config;<commit_msg>Updating configuration order<commit_after><?php

namespace KekoApp\LaravelMetaTags;

use Illuminate\Http\Request;
use Illuminate\Support\Arr;

class MetaTag
{

    /**
     * Instance of request
     *
     * @var \Illuminate\Http\Request
     */
    private $request;

    /**
     * @var array
     */
    private $config = [];

    /**
     * Locale default for app.
     *
     * @var string
     */
    private $defaultLocale = '';

    /**
     * @var array
     */
    private $metas = [];

    /**
     * @var string
     */
    private $title;

    /**
     * OpenGraph elements
     *
     * @var array
     */
    private $og = [
        'title',
        'description',
        'type',
        'image',
        'url',
        'audio',
        'determiner',
        'locale',
        'site_name',
        'video',
    ];

    /**
     * Twitter card elements
     *
     * @var array
     */
    private $twitter = [
        'card',
        'site',
        'title',
        'description',
        'creator',
        'image:src',
        'domain',
    ];


    /**
     * @param  \Illuminate\Http\Request $request
     * @param  array                    $config
     * @param  string                   $defaultLocale
     */
    public function __construct(Request $request, $defaultLocale, array $config = [])
    {
        $this->request = $request;
        $this->config = $config;
{'fraction_non_alphanumeric': 0.1406362979031092, 'fraction_numerical': 0.0, 'mean_word_length': 1.3956709956709956, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4809852', 'n_tokens_mistral': 838, 'n_tokens_neox': 836, 'n_words': 173}