Skip to content

Commit 1a552b9

Browse files
committed
Coding Standard updated
1 parent 69c1b0d commit 1a552b9

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

HS256_64.php

-9
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,18 @@
1717

1818
final class HS256_64 extends HMAC
1919
{
20-
/**
21-
* {@inheritdoc}
22-
*/
2320
protected function getHashAlgorithm(): string
2421
{
2522
return 'sha256';
2623
}
2724

28-
/**
29-
* {@inheritdoc}
30-
*/
3125
public function sign(JWK $key, string $input): string
3226
{
3327
$signature = parent::sign($key, $input);
3428

3529
return \mb_substr($signature, 0, 8, '8bit');
3630
}
3731

38-
/**
39-
* {@inheritdoc}
40-
*/
4132
public function name(): string
4233
{
4334
return 'HS256/64';

RS1.php

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717

1818
final class RS1 extends RSA
1919
{
20-
/*
21-
/**
22-
* @return string
23-
*/
2420
protected function getAlgorithm(): string
2521
{
2622
return 'sha1';

0 commit comments

Comments
 (0)