Skip to content

Commit b3b9c92

Browse files
committed
Change the global PHP variable of the Brevo version to a Brevo-specific name
1 parent af3ef22 commit b3b9c92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Configuration.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* @link https://github.com/swagger-api/swagger-codegen
3939
*/
4040

41-
$GLOBALS['version'] = '2.0.0';
41+
$GLOBALS['version-brevo'] = '2.0.0';
4242

4343
class Configuration
4444
{
@@ -120,7 +120,7 @@ class Configuration
120120
public function __construct()
121121
{
122122
$this->tempFolderPath = sys_get_temp_dir();
123-
$this->userAgent = 'brevo_clientAPI/v' . $GLOBALS['version'] . '/php';
123+
$this->userAgent = 'brevo_clientAPI/v' . $GLOBALS['version-brevo'] . '/php';
124124
}
125125

126126
/**

0 commit comments

Comments
 (0)