Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9aac73e

Browse files
committedDec 10, 2021
fix php5.5 compatible problem
1 parent b96c981 commit 9aac73e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎MQ/Http/HttpClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public function __construct($endPoint, $accessId,
4949
$this->endpoint = $endPoint;
5050
$guzzleVersion = '';
5151
if (defined('\GuzzleHttp\Client::VERSION')) {
52-
$guzzleVersion = $this->client::VERSION;
52+
$guzzleVersion = \GuzzleHttp\Client::VERSION;
5353
} else {
54-
$guzzleVersion = $this->client::MAJOR_VERSION;
54+
$guzzleVersion = \GuzzleHttp\Client::MAJOR_VERSION;
5555
}
5656
$this->agent = Constants::CLIENT_VERSION . $guzzleVersion . " PHP/" . PHP_VERSION . ")";
5757
}

0 commit comments

Comments
 (0)
Please sign in to comment.