Passed
Push — master ( a7050c...f62674 )
by Bruno
10:03
created

ExtradataParameter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace Formularium;
4
5
/**
6
 * Allowed arguments
7
 */
8
final class ExtradataParameter
9
{
10
    /**
11
     * @var string
12
     */
13
    public $name;
14
15
    /**
16
     * @var mixed
17
     */
18
    public $value;
19
20
    public function __construct(string $name, string $value)
21
    {
22
        $this->name = $name;
23
        $this->value = $value;
24
    }
25
}
26