src/RunOpenCode/ExchangeRate/Registry/SourcesRegistry.php
public function add(SourceInterface $source)
    {
        if ($this->has($source->getName())) {
            throw new RuntimeException(sprintf('Source "%s" is already registered.', $source->getName()));
        }

        $this->sources[$source->getName()] = $source;
    }
public function add(SourceInterface $source)
    {
        if ($this->has($source->getName())) {
            throw new RuntimeException(sprintf('Source "%s" is already registered.', $source->getName()));
        }

        $this->sources[$source->getName()] = $source;
    }
{@inheritdoc}