We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7e3001 commit 1a3c1eeCopy full SHA for 1a3c1ee
common/Constants.php
@@ -11,6 +11,8 @@
11
12
class Constants
13
{
14
+ const NETLICENSING_VERSION = '2.5.0';
15
+
16
const NUMBER = 'number';
17
const CASCADE = 'forceCascade';
18
const FILTER = 'filter';
service/NetLicensingService.php
@@ -27,7 +27,7 @@ private function __construct()
27
28
$this->curl = new NetLicensingCurl();
29
$this->curl->setHeader('Accept', 'application/json');
30
- $this->curl->setUserAgent('NetLicensing/PHP ' . PHP_VERSION . ' (https://netlicensing.io)');
+ $this->curl->setUserAgent('NetLicensing/PHP ' . PHP_VERSION .'/' . Constants::NETLICENSING_VERSION. ' (https://netlicensing.io)');
31
}
32
33
protected function __clone()
0 commit comments