<commit_before><?php
namespace Firelike\NYTimes\Validator\Factory;


use Firelike\NYTimes\Validator\BooksServiceRequestValidator;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;

class BooksServiceRequestValidatorFactory implements FactoryInterface
{
    public function __invoke(ContainerInterface $sm, $requestedName, array $options = null)
    {
        $validator = new BooksServiceRequestValidator();
        $validator->setSortOrderValidator($sm->get('Firelike\ShareASale\Validator\SortOrderValidator'));
        $validator->setOffsetValidator($sm->get('Firelike\ShareASale\Validator\OffsetValidator'));
        return $validator;
    }

}<commit_msg>fixing bug with the factory<commit_after><?php
namespace Firelike\NYTimes\Validator\Factory;


use Firelike\NYTimes\Validator\BooksServiceRequestValidator;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;

class BooksServiceRequestValidatorFactory implements FactoryInterface
{
    public function __invoke(ContainerInterface $sm, $requestedName, array $options = null)
    {
        $validator = new BooksServiceRequestValidator();
        $validator->setSortOrderValidator($sm->get('Firelike\NYTimes\Validator\SortOrderValidator'));
        $validator->setOffsetValidator($sm->get('Firelike\NYTimes\Validator\OffsetValidator'));
        return $validator;
    }

}
{'fraction_non_alphanumeric': 0.10070921985815603, 'fraction_numerical': 0.0, 'mean_word_length': 5.751196172248804, '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': '5042918', 'n_tokens_mistral': 356, 'n_tokens_neox': 358, 'n_words': 60}