<commit_before><?php

namespace config;

use config\config\AppConfig;
use config\config\ModelsConfig;
use config\config\StorageConfig;
use config\config\ViewsConfig;

use Valkyrja\Application;

class Configs
{
    /**
     * Application config.
     *
     * @var AppConfig
     */
    public $app;

    /**
     * Application config.
     *
     * @var ModelsConfig
     */
    public $models;

    /**
     * Application config.
     *
     * @var StorageConfig
     */
    public $storage;

    /**
     * Application config.
     *
     * @var ViewsConfig
     */
    public $views;

    /**
     * Configs constructor.
     *
     * @param \Valkyrja\Application $app
     */
    public function __construct(Application $app)
    {
        $this->app = new AppConfig($app);
        $this->models = new ModelsConfig($app);
        $this->storage = new StorageConfig($app);
        $this->views = new ViewsConfig($app);
    }

    /**
     * Get an environment variable.
     *
     * @param string $key
     *
     * @return mixed
     */
    public static function env(string $key) // : mixed
    {
        if (defined('Env::' . $key)) {
            return constant('Env::' . $key);
        }

        return false;
    }
}<commit_msg>Fixing Configs.<commit_after><?php

namespace config;

use config\config\AppConfig;
use config\config\ModelsConfig;
use config\config\StorageConfig;
use config\config\ViewsConfig;

use Valkyrja\Application;

class Configs
{
    /**
     * Application config.
     *
     * @var AppConfig
     */
    public $app;

    /**
     * Application config.
     *
     * @var ModelsConfig
     */
    public $models;

    /**
     * Application config.
     *
     * @var StorageConfig
     */
    public $storage;

    /**
     * Application config.
     *
     * @var ViewsConfig
     */
    public $views;

    /**
     * Configs constructor.
     *
     * @param \Valkyrja\Application $app
     */
    public function __construct(Application $app)
    {
        $this->app = new AppConfig($app);
        $this->models = new ModelsConfig($app);
        $this->storage = new StorageConfig($app);
        $this->views = new ViewsConfig($app);
    }

    /**
     * Get an environment variable.
     *
     * @param string $key
     *
     * @return mixed
     */
    public static function env(string $key) // : mixed
    {
        if (defined('Env::' . $key)) {
            return constant('Env::' . $key);
        }

        return null;
    }
}
{'fraction_non_alphanumeric': 0.1327148043565954, 'fraction_numerical': 0.0, 'mean_word_length': 1.814982973893303, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '3781552', 'n_tokens_mistral': 762, 'n_tokens_neox': 742, 'n_words': 167}