<?php

namespace App\Services\QrCode;

use App\Services\QrCode\Contracts\GeoLocator;

/**
 * A no-op geo locator that never resolves anything. Bound in the testing
 * environment (see `AppServiceProvider`) so the test suite never makes a
 * real network call.
 */
class NullGeoLocator implements GeoLocator
{
    public function locate(string $ipAddress): ?array
    {
        return null;
    }
}
