Apply fixes from StyleCI

This commit is contained in:
丁海军 2019-06-13 22:34:15 +08:00
parent 517dde69b4
commit e54001cf34

View File

@ -212,7 +212,7 @@ class Support
$toVerify = $sync ? mb_convert_encoding(json_encode($data, JSON_UNESCAPED_UNICODE), 'gb2312', 'utf-8') :
self::getSignContent($data, true);
$isVerify=openssl_verify($toVerify, base64_decode($sign), $publicKey, OPENSSL_ALGO_SHA256) === 1;
$isVerify = openssl_verify($toVerify, base64_decode($sign), $publicKey, OPENSSL_ALGO_SHA256) === 1;
if (is_resource($publicKey)) {
openssl_free_key($publicKey);