src/Apple/AppStore/Loader/PricesMap/PhpFileLoader.php
public function load($currency)
    {
        foreach ($this->directories as $directory) {
            $file = $directory . '/' . $currency . '.php';

            if (file_exists($file) && is_file($file)) {
                if (!is_readable($file)) {
                    throw new \RuntimeException(sprintf(
                        'Could not read file "%s".',
                        $file
                    ));
                }

                $prices = include $file;
                $fixPrices = array();

                foreach ($prices as $key => $value) {
                    $fixPrices[intval($key * 100)] = intval($value * 100);
                }

                return $fixPrices;
            }
        }

        throw PricesMapNotFoundException::createFromCurrency($currency);
    }
public function load($currency)
    {
        foreach ($this->directories as $directory) {
            $file = $directory . '/' . $currency . '.php';

            if (file_exists($file) && is_file($file)) {
                if (!is_readable($file)) {
                    throw new \RuntimeException(sprintf(
                        'Could not read file "%s".',
                        $file
                    ));
                }

                $prices = include $file;
                $fixPrices = array();

                foreach ($prices as $key => $value) {
                    $fixPrices[intval($key * 100)] = intval($value * 100);
                }

                return $fixPrices;
            }
        }

        throw PricesMapNotFoundException::createFromCurrency($currency);
    }
{@inheritDoc}