Passed
Push — master ( 5b9625...a3c6c3 )
by Artem
03:31
created

AcceptOffer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Amadeus\Client\Struct\Travel\OrderChange;
4
5
/**
6
 * AcceptOffer
7
 *
8
 * @package Amadeus\Client\Struct\Travel\OrderRetrieve
9
 * @author Artem Zakharchenko <[email protected]>
10
 */
11
class AcceptOffer
12
{
13
    /**
14
     * @var SelectedOffer
15
     */
16
    public $SelectedOffer;
17
18
    /**
19
     * @param SelectedOffer $selectedOffer
20
     */
21
    public function __construct(SelectedOffer $selectedOffer)
22
    {
23
        $this->SelectedOffer = $selectedOffer;
24
    }
25
}
26