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

ReferenceDetails   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 24
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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