<commit_before><?php
/**
 * MongoDB matryoshka wrapper
 *
 * @link        https://github.com/matryoshka-model/mongo-wrapper
 * @copyright   Copyright (c) 2014, Ripa Club
 * @license     http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
 */
namespace Matryoshka\Model\Wrapper\Mongo\Hydrator\Strategy;

use Zend\Stdlib\Hydrator\Strategy\StrategyInterface;

/**
 * Class MongoBinDataStrategy
 */
class MongoBinDataStrategy implements StrategyInterface
{

    /**
     * @var int
     */
    protected $type;


    /**
     * @param int $type
     */
    public function __construct($type = null)
    {
        $this->setType(null === $type ? \MongoBinData::GENERIC : $type);
    }<commit_msg>MongoBinData::GENERIC was added in 1.5.0, reverted default type<commit_after><?php
/**
 * MongoDB matryoshka wrapper
 *
 * @link        https://github.com/matryoshka-model/mongo-wrapper
 * @copyright   Copyright (c) 2014, Ripa Club
 * @license     http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
 */
namespace Matryoshka\Model\Wrapper\Mongo\Hydrator\Strategy;

use Zend\Stdlib\Hydrator\Strategy\StrategyInterface;

/**
 * Class MongoBinDataStrategy
 */
class MongoBinDataStrategy implements StrategyInterface
{

    /**
     * @var int
     */
    protected $type;


    /**
     * @param int $type
     */
    public function __construct($type = null)
    {
        $this->setType($type);
    }
{'fraction_non_alphanumeric': 0.1295774647887324, 'fraction_numerical': 0.009154929577464789, 'mean_word_length': 3.0254957507082154, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4817481', 'n_tokens_mistral': 468, 'n_tokens_neox': 445, 'n_words': 88}