88 * @license MIT License
99 */
1010
11- namespace Geocoder \HttpAdapter ;
11+ namespace Geocoder \Adapter ;
1212
1313use Geocoder \Exception \InvalidArgument ;
1414use Geocoder \Exception \UnsupportedOperation ;
@@ -41,10 +41,8 @@ class GeoIP2Adapter
4141 protected $ locale ;
4242
4343 /**
44- * @param \GeoIp2\ProviderInterface $geoIpProvider
45- * @param string $geoIP2Model (e.g. self::GEOIP2_MODEL_CITY)
46- * @throws \Geocoder\Exception\UnsupportedOperation
47- * @internal param string $dbFile
44+ * @param \GeoIp2\ProviderInterface $geoIpProvider
45+ * @param string $geoIP2Model (e.g. self::GEOIP2_MODEL_CITY)
4846 */
4947 public function __construct (ProviderInterface $ geoIpProvider , $ geoIP2Model = self ::GEOIP2_MODEL_CITY )
5048 {
@@ -60,8 +58,8 @@ public function __construct(ProviderInterface $geoIpProvider, $geoIP2Model = sel
6058 }
6159
6260 /**
63- * @param string $locale
64- * @return $this
61+ * @param string $locale
62+ * @return GeoIP2Adapter
6563 */
6664 public function setLocale ($ locale )
6765 {
@@ -81,9 +79,7 @@ public function getLocale()
8179 /**
8280 * Returns the content fetched from a given resource.
8381 *
84- * @param string $url (e.g. file://database?127.0.0.1)
85- * @throws \Geocoder\Exception\UnsupportedOperation
86- * @throws \Geocoder\Exception\InvalidArgument
82+ * @param string $url (e.g. file://database?127.0.0.1)
8783 * @return string
8884 */
8985 public function getContent ($ url )
0 commit comments