Passed
Push — master ( 19e97f...f6e67c )
by Dieter
07:06 queued 02:46
created

ReferenceDetails::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace Amadeus\Client\Struct\Fare\GetFareFamilyDescription;
4
5
/**
6
 * Class ReferenceDetails
7
 * @package Amadeus\Client\Struct\Fare\GetFareFamilyDescription
8
 */
9
class ReferenceDetails
10
{
11
    /**
12
     * @var string
13
     */
14
    public $type;
15
16
    /**
17
     * @var string
18
     */
19
    public $value;
20
21
    /**
22
     * ReferenceDetails constructor.
23
     *
24
     * @param string $type
25
     * @param string $value
26
     */
27
    public function __construct($type, $value)
28
    {
29
        $this->type = $type;
30
        $this->value = $value;
31
    }
32
}
33