Completed
Push — master ( 9a5cc4...561bc8 )
by Luís
12s
created

RsaBench::signingKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Importance

Changes 0
Metric Value
dl 4
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Lcobucci\JWT\Rsa;
5
6
use Lcobucci\JWT\Signer\Key;
7
use Lcobucci\JWT\SignerBench;
8
9 View Code Duplication
abstract class RsaBench extends SignerBench
10
{
11
    protected function signingKey(): Key
12
    {
13
        return new Key('file://' . __DIR__ . '/private.key');
14
    }
15
16
    protected function verificationKey(): Key
17
    {
18
        return new Key('file://' . __DIR__ . '/public.key');
19
    }
20
}
21