/** * @param HttpAdapterInterface $adapter An HTTP adapter. * @param string $locale A locale (optional). */ public function __construct(HttpAdapterInterface $adapter, $locale = null) { parent::__construct($adapter, static::ROOT_URL, $locale); trigger_error('The `OpenStreetMapsProvider` is deprecated and will be removed. Use the `OpenStreetMapProvider` instead.', E_USER_DEPRECATED); }