<commit_before><?php

namespace Oro\Bundle\CurrencyBundle\Provider;

use Oro\Bundle\OrganizationBundle\Entity\Organization;

interface RepositoryCurrencyProviderInterface
{
    /**
     * Return translated label of entity
     *
     * @return string
     */
    public function getEntityLabel();

    /**
     * @param array             $availableCurrencies
     * @param Organization|null $organization
     *
     * @return bool
     */
    public function hasRecordsInUnavailableCurrencies(
        array $availableCurrencies,
        Organization $organization = null
    );
}
<commit_msg>OEE-1164: Add multi-curency validator to available currency form - Fixed issue with organization<commit_after><?php

namespace Oro\Bundle\CurrencyBundle\Provider;

use Oro\Bundle\OrganizationBundle\Entity\Organization;

interface RepositoryCurrencyProviderInterface
{
    /**
     * Return translated label of entity
     *
     * @return string
     */
    public function getEntityLabel();

    /**
     * @param array             $currenciesOnRemove
     * @param Organization|null $organization
     *
     * @return bool
     */
    public function hasRecordsInCurrenciesOnRemove(
        array $currenciesOnRemove,
        Organization $organization = null
    );
}

{'fraction_non_alphanumeric': 0.08214849921011058, 'fraction_numerical': 0.00315955766192733, 'mean_word_length': 2.8628048780487805, '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': '7663208', 'n_tokens_mistral': 338, 'n_tokens_neox': 329, 'n_words': 77}