diff --git a/src/AbstractGeocoder.php b/src/AbstractGeocoder.php index efdaff6..df0cbcb 100644 --- a/src/AbstractGeocoder.php +++ b/src/AbstractGeocoder.php @@ -22,7 +22,7 @@ public function __construct($key = null) $this->setKey($key); } $this->setTimeout(self::TIMEOUT); - $this->user_agent = 'opencage-php/' . self::TIMEOUT . ' (PHP ' . phpversion() . '; ' . php_uname('s') . ' ' . php_uname('r') . ')'; + $this->user_agent = 'opencage-php/' . self::VERSION . ' (PHP ' . phpversion() . '; ' . php_uname('s') . ' ' . php_uname('r') . ')'; } public function setKey($key)