<commit_before><?php
/**
 * Incoming
 *
 * @author    <NAME> (Rican7)
 * @copyright (c) <NAME>
 * @link      https://github.com/Rican7/incoming
 * @license   MIT
 */

namespace Incoming\Hydrator;

use Incoming\Structure\Map;

/**
 * HydratorInterface
 */
interface HydratorInterface
{

    /**
     * Hydrate a model from the incoming data
     *
     * @param Map $incoming
     * @param mixed $model
     * @return mixed
     */
    public function hydrate(Map $incoming, $model);
}
<commit_msg>Welp, I knew it would be worth it to test. This strict typing is artificially limiting the `HydratorInterface`'s usage to only hydrating when the input is of a certain type<commit_after><?php
/**
 * Incoming
 *
 * @author    <NAME> (Rican7)
 * @copyright (c) <NAME>
 * @link      https://github.com/Rican7/incoming
 * @license   MIT
 */

namespace Incoming\Hydrator;

/**
 * HydratorInterface
 */
interface HydratorInterface
{

    /**
     * Hydrate a model from the incoming data
     *
     * @param mixed $incoming
     * @param mixed $model
     * @return mixed
     */
    public function hydrate($incoming, $model);
}

{'fraction_non_alphanumeric': 0.12299465240641712, 'fraction_numerical': 0.0035650623885918, 'mean_word_length': 2.832764505119454, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '3943760', 'n_tokens_mistral': 369, 'n_tokens_neox': 362, 'n_words': 104}