Passed
Pull Request — master (#653)
by Aleksei
07:43
created

TestCondition   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
3
/**
4
 * Spiral Framework.
5
 *
6
 * @license   MIT
7
 * @author    Anton Titov (Wolfy-J)
8
 */
9
10
declare(strict_types=1);
11
12
namespace Spiral\Tests\Validation\Fixtures;
13
14
use Spiral\Validation\AbstractCondition;
15
use Spiral\Validation\ValidatorInterface;
16
17
class TestCondition extends AbstractCondition
18
{
19
    public function isMet(ValidatorInterface $validator, string $field, $value): bool
20
    {
21
        return true;
22
    }
23
}
24