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

UpdateOrderItem   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
 * UpdateOrderItem
7
 *
8
 * @package Amadeus\Client\Struct\Travel\OrderRetrieve
9
 * @author Artem Zakharchenko <[email protected]>
10
 */
11
class UpdateOrderItem
12
{
13
    /**
14
     * @var AcceptOffer
15
     */
16
    public $AcceptOffer;
17
18
    /**
19
     * @param AcceptOffer $acceptOffer
20
     */
21
    public function __construct(AcceptOffer $acceptOffer)
22
    {
23
        $this->AcceptOffer = $acceptOffer;
24
    }
25
}
26