Completed
Push — master ( 33a760...fe4bb1 )
by Dmitry
29:52 queued 14:56
created

BackUrlValidator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A validate() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace hiqdev\yii2\mfa\validator;
5
6
final class BackUrlValidator implements BackUrlValidatorInterface
7
{
8
    public function validate(string $url): bool
9
    {
10
        return true;
11
    }
12
}
13