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

ExtradataParameter::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 4
rs 10
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