<commit_before><?php namespace EdvinasKrucas\RBAuth;

use Illuminate\Auth\AuthServiceProvider;
use Illuminate\Auth\EloquentUserProvider;

class RBAuthServiceProvider extends AuthServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        parent::boot();

        $this->package('edvinaskrucas/rbauth');
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $app = $this->app;

        $this->app['auth']->extend('rbauth', function() use ($app)
        {
            return new RBAuth(
                new EloquentUserProvider(
                    $app['hash'],
                    $app['config']->get('rbauth:user_model')
                ),
                $app['session'],
                new $app['config']->get('rbauth::role_provider'),
                $app['config']
            );
        });

        $this->app['config']->package('edvinaskrucas/rbauth', __DIR__.'/../config');
    }
}<commit_msg>FIX: changed that rbauthserviceprovider now extends serviceprovider<commit_after><?php namespace EdvinasKrucas\RBAuth;

use Illuminate\Auth\EloquentUserProvider;
use Illuminate\Support\ServiceProvider;

class RBAuthServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        parent::boot();

        $this->package('edvinaskrucas/rbauth');
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $app = $this->app;

        $this->app['auth']->extend('rbauth', function() use ($app)
        {
            return new RBAuth(
                new EloquentUserProvider(
                    $app['hash'],
                    $app['config']->get('rbauth:user_model')
                ),
                $app['session'],
                new $app['config']->get('rbauth::role_provider'),
                $app['config']
            );
        });

        $this->app['config']->package('edvinaskrucas/rbauth', __DIR__.'/../config');
    }
}
{'fraction_non_alphanumeric': 0.1445617255621845, 'fraction_numerical': 0.0, 'mean_word_length': 1.8874172185430464, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '820436', 'n_tokens_mistral': 632, 'n_tokens_neox': 614, 'n_words': 106}