From f3d589c548308095f2323f8ad53d4130b0748217 Mon Sep 17 00:00:00 2001 From: Arnaud Ferrand Date: Mon, 11 Mar 2024 18:17:47 +0000 Subject: [PATCH] VERSION --- src/AbstractGeocoder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)