<commit_before><?php

/*
 * This file is part of the MilioooMessageBundle package.
 *
 * (c) <NAME> <<EMAIL>>
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace Miliooo\Messaging\Repository;

use Miliooo\Messaging\User\ParticipantInterface;
use Doctrine\Common\Persistence\ObjectRepository;

/**
 * Description of ThreadRepositoryInterface
 *
 * @author <NAME> <<EMAIL>>
 */
interface ThreadRepositoryInterface extends ObjectRepository
{

    /**
     * Gets the inbox threads for a given participant
     *
     * @param ParticipantInterface $participant The participant
     *
     * @return ThreadInterface[]|null Array of threadinterfaces or null when no threads
     */
    public function getInboxThreadsForParticipant(ParticipantInterface $participant);

    /**
     * Finds a thread by it's unique id
     *
     * @param integer $id The unique id
     *
     * @return ThreadInterface|null
     */
    public function findThread($id);
}
<commit_msg>cs fix<commit_after><?php

/*
 * This file is part of the MilioooMessageBundle package.
 *
 * (c) <NAME> <<EMAIL>>
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

namespace Miliooo\Messaging\Repository;

use Miliooo\Messaging\User\ParticipantInterface;
use Doctrine\Common\Persistence\ObjectRepository;

/**
 * Description of ThreadRepositoryInterface
 *
 * @author <NAME> <<EMAIL>>
 */
interface ThreadRepositoryInterface extends ObjectRepository
{
    /**
     * Gets the inbox threads for a given participant
     *
     * @param ParticipantInterface $participant The participant
     *
     * @return ThreadInterface[]|null Array of threadinterfaces or null when no threads
     */
    public function getInboxThreadsForParticipant(ParticipantInterface $participant);

    /**
     * Finds a thread by it's unique id
     *
     * @param integer $id The unique id
     *
     * @return ThreadInterface|null
     */
    public function findThread($id);
}

{'fraction_non_alphanumeric': 0.08826382153249272, 'fraction_numerical': 0.0, 'mean_word_length': 3.4557235421166306, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '4620623', 'n_tokens_mistral': 577, 'n_tokens_neox': 555, 'n_words': 187}