Passed
Pull Request — 1.x (#24)
by
unknown
12:37
created

AbstractValidation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
/**
3
 * This file is part of the Ray.WebFormModule package.
4
 *
5
 * @license http://opensource.org/licenses/MIT MIT
6
 */
7
8
namespace Ray\WebFormModule\Annotation;
9
10
use Attribute;
11
12
#[Attribute(Attribute::TARGET_METHOD)]
13
class AbstractValidation
14
{
15
    public function __construct(public string $form = 'form')
16
    {
17
    }
18
}
19