<commit_before><?hh //strict

namespace specify;

use specify\specification\PackageSpecification;


class Config
{

    private PackageSpecification $package;
    private Reporter $exampleReporter;

    public function __construct(ConfigOptions $config)
    {
        $this->package = $config['package'];
        $this->exampleReporter = $config['exampleReporter'];
    }

    public function getPackage() : PackageSpecification
    {
        return $this->package;
    }

    public function getExampleReporter() : ExampleReporter
    {
        return $this->exampleReporter;
    }

}
<commit_msg>fix typehinting<commit_after><?hh //strict

namespace specify;

use specify\specification\PackageSpecification;


class Config
{

    private PackageSpecification $package;
    private ExampleReporter $exampleReporter;

    public function __construct(ConfigOptions $config)
    {
        $this->package = $config['package'];
        $this->exampleReporter = $config['exampleReporter'];
    }

    public function getPackage() : PackageSpecification
    {
        return $this->package;
    }

    public function getExampleReporter() : ExampleReporter
    {
        return $this->exampleReporter;
    }

}

{'fraction_non_alphanumeric': 0.0995850622406639, 'fraction_numerical': 0.0, 'mean_word_length': 3.307142857142857, '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': '565379', 'n_tokens_mistral': 329, 'n_tokens_neox': 319, 'n_words': 69}