Skip to content

Commit a860f85

Browse files
authored
Apply fixes from StyleCI (#105)
[ci skip] [skip ci]
1 parent 5812291 commit a860f85

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

performance/KeyFactory/KeyFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function usingThePurePhpMethod()
4747
public function usingOpenSSL()
4848
{
4949
$key = openssl_pkey_new([
50-
'curve_name' => 'prime256v1',
50+
'curve_name' => 'prime256v1',
5151
'private_key_type' => OPENSSL_KEYTYPE_EC,
5252
]);
5353
$res = openssl_pkey_export($key, $out);

src/Component/Encryption/Algorithm/KeyEncryption/ECDHES.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ private function getCurve(string $crv): Curve
232232
*/
233233
private function convertBase64ToGmp(string $value): \GMP
234234
{
235-
$value = unpack('H*', Base64Url::decode($value));;
235+
$value = unpack('H*', Base64Url::decode($value));
236236

237237
return gmp_init($value[1], 16);
238238
}
@@ -349,7 +349,7 @@ private static function createECKeyUsingPurePhp(string $curve): array
349349
private static function createECKeyUsingOpenSSL(string $curve): array
350350
{
351351
$key = openssl_pkey_new([
352-
'curve_name' => self::getOpensslCurveName($curve),
352+
'curve_name' => self::getOpensslCurveName($curve),
353353
'private_key_type' => OPENSSL_KEYTYPE_EC,
354354
]);
355355
$res = openssl_pkey_export($key, $out);

src/Component/KeyManagement/JWKFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static function createECKeyUsingPurePhp(string $curve): array
118118
private static function createECKeyUsingOpenSSL(string $curve): array
119119
{
120120
$key = openssl_pkey_new([
121-
'curve_name' => self::getOpensslCurveName($curve),
121+
'curve_name' => self::getOpensslCurveName($curve),
122122
'private_key_type' => OPENSSL_KEYTYPE_EC,
123123
]);
124124
$res = openssl_pkey_export($key, $out);

0 commit comments

Comments
 (0)