<commit_before><?php

use Efriandika\LaravelSettings\Facades\Settings;

if (!function_exists('settings'))
{
    /**
     * @param $key
     * @param null $default
     * @return mixed|\Efriandika\LaravelSettings\Facades\Settings
     */
    function settings($key, $default = null)
    {
        return Settings::get($key, $default);
    }
}<commit_msg>Updated helper function to match the signature of laravel helpers<commit_after><?php

use Efriandika\LaravelSettings\Facades\Settings;

if (!function_exists('settings'))
{
    /**
     * @param string|null $key
     * @param null $default
     * @return mixed|\Efriandika\LaravelSettings\Facades\Settings
     */
    function settings($key = null, $default = null)
    {
        if (is_null($key)) {
            return app('settings');
        }

        return Settings::get($key, $default);
    }
}
{'fraction_non_alphanumeric': 0.13833528722157093, 'fraction_numerical': 0.0, 'mean_word_length': 2.9906542056074765, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '7412634', 'n_tokens_mistral': 270, 'n_tokens_neox': 264, 'n_words': 53}