Passed
Push — master ( f4145f...eee8ec )
by Artem
03:30
created

FareBasisDetails   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Amadeus\Client\Struct\Fare\TLAGetFareRules;
4
5
class FareBasisDetails
6
{
7
    /**
8
     * @var string
9
     */
10
    public $tariffClassId;
11
12
    /**
13
     * @var CompanyDetails
14
     */
15
    public $companyDetails;
16
17
    /**
18
     * @param string $tariffClassId
19
     * @param string $marketingCompany
20
     */
21
    public function __construct($tariffClassId, $marketingCompany)
22
    {
23
        $this->tariffClassId = $tariffClassId;
24
        $this->companyDetails = new CompanyDetails($marketingCompany);
25
    }
26
}
27