Completed
Push — 6-php_attributes ( 62d696 )
by Jakub
02:25
created

Data::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 2
rs 10
1
<?php
2
declare(strict_types=1);
3
4
namespace MyTester\Annotations\Attributes;
5
6
#[Attribute(Attribute::TARGET_METHOD)]
0 ignored issues
show
introduced by
This comment is 63% valid code; is this commented out code?
Loading history...
7
class Data {
8
  public array $value;
9
10
  public function __construct(array $value) {
11
    $this->value = $value;
12
  }
13
}
14
?>