<commit_before><?php
namespace Components\Middleware;

class Auth implements \League\Tactician\Middleware
{
    public function execute($command, callable $next)
    {
        if ( auth()->check() === false ) {

            flashbag()->error('Please login to access this page.');

            redirect(

                url(
                    route('showLoginForm'),
                    [
                        'ref' => url()->current()
                    ]
                )
            );
        }

        return $next($command);
    }
}<commit_msg>fixing the flash bag function<commit_after><?php
namespace Components\Middleware;

class Auth implements \League\Tactician\Middleware
{
    public function execute($command, callable $next)
    {
        if ( auth()->check() === false ) {

            flash_bag()->error('Please login to access this page.');

            redirect(

                url(
                    route('showLoginForm'),
                    [
                        'ref' => url()->current()
                    ]
                )
            );
        }

        return $next($command);
    }
}
{'fraction_non_alphanumeric': 0.12180052956751986, 'fraction_numerical': 0.0, 'mean_word_length': 1.3190184049079754, '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': '2110316', 'n_tokens_mistral': 283, 'n_tokens_neox': 267, 'n_words': 60}