<commit_before><?php

namespace Sample\Dependency;

use Doctrine\DBAL\Configuration;
use Doctrine\DBAL\DriverManager;
use PSX\Framework\Dependency\DefaultContainer;
use Sample\Service;

class Container extends DefaultContainer
{
    /**
     * @return \Sample\Service\Population
     */
    public function getPopulationService()
    {
        return new Service\Population(
            $this->get('table_manager')->getTable('Sample\Table\Population')
        );
    }
}<commit_msg>use ::class notation<commit_after><?php

namespace Sample\Dependency;

use PSX\Framework\Dependency\DefaultContainer;
use Sample\Service;
use Sample\Table;

class Container extends DefaultContainer
{
    /**
     * @return \Sample\Service\Population
     */
    public function getPopulationService()
    {
        return new Service\Population(
            $this->get('table_manager')->getTable(Table\Population::class)
        );
    }
}
{'fraction_non_alphanumeric': 0.11400651465798045, 'fraction_numerical': 0.0, 'mean_word_length': 3.3696682464454977, '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': '4911402', 'n_tokens_mistral': 255, 'n_tokens_neox': 247, 'n_words': 48}