Completed
Push — develop ( b71e24...13e4b5 )
by Dieter
10:39
created

NumberOfItemsDetails   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 17
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * Amadeus
4
 *
5
 * Copyright 2015 Amadeus Benelux NV
6
 */
7
8
namespace Amadeus\Client\Struct\SalesReports\DisplayQueryReport;
9
10
/**
11
 * NumberOfItemsDetails
12
 *
13
 * @package Amadeus\Client\Struct\SalesReports\DisplayQueryReport
14
 * @author Dieter Devlieghere <[email protected]>
15
 */
16
class NumberOfItemsDetails
17
{
18
    /**
19
     * @var int
20
     */
21
    public $numberOfItems;
22
23
    /**
24
     * NumberOfItemsDetails constructor.
25
     *
26
     * @param int $amount
27
     */
28
    public function __construct($amount)
29
    {
30
        $this->numberOfItems = $amount;
31
    }
32
}
33