<commit_before><?php

namespace Loevgaard\DandomainFoundationBundle\Entity;

use Loevgaard\DandomainFoundation\Entity\Generated\ManufacturerInterface;

class ManufacturerRepository extends Repository implements ManufacturerRepositoryInterface
{
    public function findOneByExternalId(string $externalId): ?ManufacturerInterface
    {
        /** @var ManufacturerInterface $obj */
        $obj = $this->repository->findOneBy([
            'externalId' => $externalId,
        ]);

        return $obj;
    }
}<commit_msg>coding<commit_after><?php

namespace Loevgaard\DandomainFoundationBundle\Entity;

use Loevgaard\DandomainFoundation\Entity\Generated\ManufacturerInterface;

/**
 * @method null|ManufacturerInterface find($id)
 * @method ManufacturerInterface[] findBy(array $criteria, array $orderBy = null, int $limit = null, int $offset = null)
 * @method null|ManufacturerInterface findOneBy(array $criteria)
 * @method ManufacturerInterface[] findAll()
 */
class ManufacturerRepository extends Repository implements ManufacturerRepositoryInterface
{
    public function findOneByExternalId(string $externalId): ?ManufacturerInterface
    {
        /** @var ManufacturerInterface $obj */
        $obj = $this->repository->findOneBy([
            'externalId' => $externalId,
        ]);

        return $obj;
    }
}
{'fraction_non_alphanumeric': 0.10347432024169184, 'fraction_numerical': 0.0, 'mean_word_length': 4.3861788617886175, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4019266', 'n_tokens_mistral': 359, 'n_tokens_neox': 352, 'n_words': 73}