Completed
Push — master ( 47af09...0ff73f )
by Jakub
01:51
created

Fail   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 11
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace MyTester\Attributes;
6
7
use Attribute;
8
9
/**
10
 * Fail attribute
11
 *
12
 * @author Jakub Konečný
13
 */
14
#[Attribute(Attribute::TARGET_METHOD)]
15
final class Fail extends BaseAttribute
16
{
17
    /** @var mixed */
18
    public $value;
19
20
    /**
21
     * @param mixed $value
22
     */
23
    public function __construct($value = null)
24
    {
25
        $this->value = $value;
26
    }
27
}
28