Completed
Push — master ( e214c2...9b8774 )
by Kevin
02:27
created

NullValidator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

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 0
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A validate() 0 4 1
1
<?php
2
3
namespace Zenstruck\JWT\Validator;
4
5
use Zenstruck\JWT\Token;
6
use Zenstruck\JWT\Validator;
7
8
/**
9
 * @author Kevin Bond <[email protected]>
10
 */
11
final class NullValidator implements Validator
12
{
13
    /**
14
     * {@inheritdoc}
15
     */
16 1
    public function validate(Token $token)
17
    {
18
        // noop
19 1
    }
20
}
21