<commit_before><?php
/**
 * @file
 */

namespace CultuurNet\UDB3\ReadModel\Index;

use \DateTimeInterface;

interface RepositoryInterface
{
    /**
     * @param string $id
     * @param EntityType $entityType
     * @param string $userId
     * @param string $name
     * @param string $postalCode
     * @param DateTimeInterface $created
     * @return void
     */
    public function updateIndex($id, EntityType $entityType, $userId, $name, $postalCode, DateTimeInterface $created = null);

    /**
     * @param string$id
     * @return void
     */
    public function deleteIndex($id);
}<commit_msg>III-359: There might be places and organizers with the same UUID coming from UDB2, so require EntityType inn deleteIndex()<commit_after><?php
/**
 * @file
 */

namespace CultuurNet\UDB3\ReadModel\Index;

use \DateTimeInterface;

interface RepositoryInterface
{
    /**
     * @param string $id
     * @param EntityType $entityType
     * @param string $userId
     * @param string $name
     * @param string $postalCode
     * @param DateTimeInterface $created
     * @return void
     */
    public function updateIndex($id, EntityType $entityType, $userId, $name, $postalCode, DateTimeInterface $created = null);

    /**
     * @param string$id
     * @return void
     */
    public function deleteIndex($id, EntityType $entityType);
}
{'fraction_non_alphanumeric': 0.11524163568773234, 'fraction_numerical': 0.0044609665427509295, 'mean_word_length': 3.154320987654321, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5618562', 'n_tokens_mistral': 396, 'n_tokens_neox': 395, 'n_words': 112}