<commit_before><?php

namespace Terranet\Localizer;

use Illuminate\Support\Manager;
use Terranet\Localizer\Resolvers\DomainResolver;
use Terranet\Localizer\Resolvers\EnvironmentResolver;
use Terranet\Localizer\Resolvers\RequestResolver;

class Resolver extends Manager
{
    protected $resolvers = [
        'request',
        'domain',
        'environment',
    ];

    public function createRequestDriver()
    {
        return new RequestResolver($this->app['request']);
    }

    /**
     * @return DomainResolver
     */
    public function createDomainDriver()
    {
        return new DomainResolver($this->app['request']);
    }<commit_msg>fix dependent method 'this->app(request)' => 'app('request')'<commit_after><?php

namespace Terranet\Localizer;

use Illuminate\Support\Manager;
use Terranet\Localizer\Resolvers\DomainResolver;
use Terranet\Localizer\Resolvers\EnvironmentResolver;
use Terranet\Localizer\Resolvers\RequestResolver;

class Resolver extends Manager
{
    protected $resolvers = [
        'request',
        'domain',
        'environment',
    ];

    public function createRequestDriver()
    {
        return new RequestResolver(app('request'));
    }

    /**
     * @return DomainResolver
     */
    public function createDomainDriver()
    {
        return new DomainResolver(app('request'));
    }
{'fraction_non_alphanumeric': 0.11377245508982035, 'fraction_numerical': 0.0, 'mean_word_length': 3.3550488599348536, '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': '459939', 'n_tokens_mistral': 379, 'n_tokens_neox': 377, 'n_words': 72}