ECDSA   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 10
wmc 1
lcom 0
cbo 1
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A allowedType() 0 4 1
1
<?php
2
3
namespace Zenstruck\JWT\Signer\OpenSSL;
4
5
use Zenstruck\JWT\Signer\OpenSSL;
6
7
/**
8
 * @author Kevin Bond <[email protected]>
9
 */
10
abstract class ECDSA extends OpenSSL
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15 6
    protected function allowedType()
16
    {
17 6
        return OPENSSL_KEYTYPE_EC;
18
    }
19
}
20