Completed
Push — master ( 44b975...9348fd )
by Jakub
01:41
created

Fail   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace MyTester\Annotations\Attributes;
5
6
/**
7
 * Fail attribute
8
 *
9
 * @author Jakub Konečný
10
 * @internal
11
 */
12
#[Attribute(Attribute::TARGET_METHOD)]
0 ignored issues
show
introduced by
This comment is 63% valid code; is this commented out code?
Loading history...
13
final class Fail {
14
  /** @var mixed */
15
  public $value;
16
17
  /**
18
   * @param mixed $value
19
   */
20
  public function __construct($value = null) {
21
    $this->value = $value;
22
  }
23
}
24
?>