Completed
Push — develop ( 7cfe1b...a79e07 )
by Dieter
07:00
created
src/Amadeus/Client/Struct/PriceXplorer/FlexibilityInfo.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -30,18 +30,18 @@
 block discarded – undo
30 30
  */
31 31
 class FlexibilityInfo
32 32
 {
33
-	/**
34
-	 * @var QuantityDetailsType[]
35
-	 */
36
-	public $quantityDetails = [];
33
+ /**
34
+  * @var QuantityDetailsType[]
35
+  */
36
+ public $quantityDetails = [];
37 37
 	
38
-	/**
39
-	 * @param int $flexibilityDays Number of flexible days
40
-	 */
41
-	public function __construct($flexibilityDays = null)
42
-	{
43
-		if ($flexibilityDays !== null && is_int($flexibilityDays)) {
44
-			$this->quantityDetails[] = new QuantityDetailsType($flexibilityDays);
45
-		}
46
-	}
38
+ /**
39
+  * @param int $flexibilityDays Number of flexible days
40
+  */
41
+ public function __construct($flexibilityDays = null)
42
+ {
43
+  if ($flexibilityDays !== null && is_int($flexibilityDays)) {
44
+   $this->quantityDetails[] = new QuantityDetailsType($flexibilityDays);
45
+  }
46
+ }
47 47
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/OfficeIdInfo.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -30,19 +30,19 @@
 block discarded – undo
30 30
  */
31 31
 class OfficeIdInfo
32 32
 {
33
-	/**
34
-	 * Office identification details
35
-	 * 
36
-	 * @var OfficeId
37
-	 */
38
-	public $officeId;
33
+ /**
34
+  * Office identification details
35
+  * 
36
+  * @var OfficeId
37
+  */
38
+ public $officeId;
39 39
 	
40
-	/**
41
-	 * 
42
-	 * @param string $officeId
43
-	 */
44
-	public function __construct($officeId)
45
-	{
46
-		$this->officeId = new OfficeId($officeId);
47
-	}
40
+ /**
41
+  * 
42
+  * @param string $officeId
43
+  */
44
+ public function __construct($officeId)
45
+ {
46
+  $this->officeId = new OfficeId($officeId);
47
+ }
48 48
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/StayDuration.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -30,20 +30,20 @@
 block discarded – undo
30 30
  */
31 31
 class StayDuration
32 32
 {
33
-	/**
34
-	 * @var NbOfUnitsInfo
35
-	 */
36
-	public $nbOfUnitsInfo;
37
-	/**
38
-	 * @var FlexibilityInfo
39
-	 */
40
-	public $flexibilityInfo;
33
+ /**
34
+  * @var NbOfUnitsInfo
35
+  */
36
+ public $nbOfUnitsInfo;
37
+ /**
38
+  * @var FlexibilityInfo
39
+  */
40
+ public $flexibilityInfo;
41 41
 	
42
-	/**
43
-	 * @param int $numberOfDays
44
-	 */
45
-	public function __construct($numberOfDays = null)
46
-	{
47
-		$this->nbOfUnitsInfo = new NbOfUnitsInfo($numberOfDays);
48
-	}
42
+ /**
43
+  * @param int $numberOfDays
44
+  */
45
+ public function __construct($numberOfDays = null)
46
+ {
47
+  $this->nbOfUnitsInfo = new NbOfUnitsInfo($numberOfDays);
48
+ }
49 49
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/OfficeId.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -30,25 +30,25 @@
 block discarded – undo
30 30
  */
31 31
 class OfficeId
32 32
 {
33
-	/**
34
-	 * 
35
-	 * @var OriginIdentification
36
-	 */
37
-	public $originIdentification;
38
-	/**
39
-	 * @var mixed
40
-	 */
41
-	public $originatorTypeCode;
42
-	/**
43
-	 * @var mixed
44
-	 */
45
-	public $originator;
33
+ /**
34
+  * 
35
+  * @var OriginIdentification
36
+  */
37
+ public $originIdentification;
38
+ /**
39
+  * @var mixed
40
+  */
41
+ public $originatorTypeCode;
42
+ /**
43
+  * @var mixed
44
+  */
45
+ public $originator;
46 46
 	
47
-	/**
48
-	 * @param string $officeId
49
-	 */
50
-	public function __construct($officeId)
51
-	{
52
-		$this->originIdentification = new OriginIdentification($officeId);
53
-	}
47
+ /**
48
+  * @param string $officeId
49
+  */
50
+ public function __construct($officeId)
51
+ {
52
+  $this->originIdentification = new OriginIdentification($officeId);
53
+ }
54 54
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/MonetaryDetails.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -30,32 +30,32 @@
 block discarded – undo
30 30
  */
31 31
 class MonetaryDetails
32 32
 {
33
-	const QUAL_MAX_BUDGET = "MAX";
33
+ const QUAL_MAX_BUDGET = "MAX";
34 34
 	
35
-	const QUAL_MIN_BUDGET = "MIN";
35
+ const QUAL_MIN_BUDGET = "MIN";
36 36
 	
37
-	/**
38
-	 * @var string self::QUAL_*
39
-	 */
40
-	public $typeQualifier;
41
-	/**
42
-	 * @var string
43
-	 */
44
-	public $amount;
45
-	/**
46
-	 * @var string
47
-	 */
48
-	public $currency;
37
+ /**
38
+  * @var string self::QUAL_*
39
+  */
40
+ public $typeQualifier;
41
+ /**
42
+  * @var string
43
+  */
44
+ public $amount;
45
+ /**
46
+  * @var string
47
+  */
48
+ public $currency;
49 49
 	
50
-	/**
51
-	 * @param double|string $amount
52
-	 * @param string $qualifier MonetaryDetails::QUAL_*
53
-	 * @param string $currency Currency code
54
-	 */
55
-	public function __construct($amount, $qualifier = self::QUAL_MAX_BUDGET, $currency = "EUR")
56
-	{
57
-		$this->amount = $amount;
58
-		$this->typeQualifier = $qualifier;
59
-		$this->currency = $currency;
60
-	}
50
+ /**
51
+  * @param double|string $amount
52
+  * @param string $qualifier MonetaryDetails::QUAL_*
53
+  * @param string $currency Currency code
54
+  */
55
+ public function __construct($amount, $qualifier = self::QUAL_MAX_BUDGET, $currency = "EUR")
56
+ {
57
+  $this->amount = $amount;
58
+  $this->typeQualifier = $qualifier;
59
+  $this->currency = $currency;
60
+ }
61 61
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/DateAndTimeInfo.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
  */
31 31
 class DateAndTimeInfo
32 32
 {
33
-	/**
34
-	 * @var DateAndTimeDetails[]
35
-	 */
36
-	public $dateAndTimeDetails = [];
33
+ /**
34
+  * @var DateAndTimeDetails[]
35
+  */
36
+ public $dateAndTimeDetails = [];
37 37
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/ItineraryGrp.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -30,24 +30,24 @@
 block discarded – undo
30 30
  */
31 31
 class ItineraryGrp
32 32
 {
33
-	/**
34
-	 * @var ItineraryInfo
35
-	 */
36
-	public $itineraryInfo;
33
+ /**
34
+  * @var ItineraryInfo
35
+  */
36
+ public $itineraryInfo;
37 37
 	
38
-	/**
39
-	 * @var LocationInfo
40
-	 */
41
-	public $locationInfo;
38
+ /**
39
+  * @var LocationInfo
40
+  */
41
+ public $locationInfo;
42 42
 	
43
-	/**
44
-	 * Construct ItineraryGrp
45
-	 * 
46
-	 * @param string|null $origin
47
-	 * @param string|null $destination
48
-	 */
49
-	public function __construct($origin = null, $destination = null)
50
-	{
51
-		$this->itineraryInfo = new ItineraryInfo($origin, $destination);
52
-	}
43
+ /**
44
+  * Construct ItineraryGrp
45
+  * 
46
+  * @param string|null $origin
47
+  * @param string|null $destination
48
+  */
49
+ public function __construct($origin = null, $destination = null)
50
+ {
51
+  $this->itineraryInfo = new ItineraryInfo($origin, $destination);
52
+ }
53 53
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/Budget.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -30,34 +30,34 @@
 block discarded – undo
30 30
  */
31 31
 class Budget
32 32
 {
33
-	/**
34
-	 * @var MonetaryDetails[]
35
-	 */
36
-	public $monetaryDetails = [];
33
+ /**
34
+  * @var MonetaryDetails[]
35
+  */
36
+ public $monetaryDetails = [];
37 37
 	
38
-	/**
39
-	 * When providing MAX or MIN you MUST specify currency
40
-	 * 
41
-	 * @param double|int|string|null $maxBudget
42
-	 * @param double|int|string|null $minBudget
43
-	 * @param string|null $currency
44
-	 */
45
-	public function __construct($maxBudget = null, $minBudget = null, $currency = null)
46
-	{
47
-		if ($maxBudget !== null && $currency !== null) {
48
-			$this->monetaryDetails[] = new MonetaryDetails(
49
-				$maxBudget, 
50
-				MonetaryDetails::QUAL_MAX_BUDGET,
51
-				$currency
52
-			);
53
-		}
38
+ /**
39
+  * When providing MAX or MIN you MUST specify currency
40
+  * 
41
+  * @param double|int|string|null $maxBudget
42
+  * @param double|int|string|null $minBudget
43
+  * @param string|null $currency
44
+  */
45
+ public function __construct($maxBudget = null, $minBudget = null, $currency = null)
46
+ {
47
+  if ($maxBudget !== null && $currency !== null) {
48
+   $this->monetaryDetails[] = new MonetaryDetails(
49
+    $maxBudget, 
50
+    MonetaryDetails::QUAL_MAX_BUDGET,
51
+    $currency
52
+   );
53
+  }
54 54
 		
55
-		if ($minBudget !== null && $currency !== null) {
56
-			$this->monetaryDetails[] = new MonetaryDetails(
57
-					$minBudget,
58
-					MonetaryDetails::QUAL_MIN_BUDGET,
59
-					$currency
60
-			);
61
-		}
62
-	}
55
+  if ($minBudget !== null && $currency !== null) {
56
+   $this->monetaryDetails[] = new MonetaryDetails(
57
+     $minBudget,
58
+     MonetaryDetails::QUAL_MIN_BUDGET,
59
+     $currency
60
+   );
61
+  }
62
+ }
63 63
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/PriceXplorer/SelectionDetailsGroup.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -31,28 +31,28 @@
 block discarded – undo
31 31
 class SelectionDetailsGroup
32 32
 {
33 33
 	
34
-	/**
35
-	 * @var SelectionDetailsInfo
36
-	 */
37
-	public $selectionDetailsInfo;
34
+ /**
35
+  * @var SelectionDetailsInfo
36
+  */
37
+ public $selectionDetailsInfo;
38 38
 	
39
-	/**
40
-	 * @var NbOfUnitsInfo
41
-	 */
42
-	public $nbOfUnitsInfo;
39
+ /**
40
+  * @var NbOfUnitsInfo
41
+  */
42
+ public $nbOfUnitsInfo;
43 43
 	
44
-	/**
45
-	 * @var DateAndTimeInfo
46
-	 */
47
-	public $dateAndTimeInfo;
44
+ /**
45
+  * @var DateAndTimeInfo
46
+  */
47
+ public $dateAndTimeInfo;
48 48
 	
49
-	/**
50
-	 * @var QuantityInfo
51
-	 */
52
-	public $quantityInfo;
49
+ /**
50
+  * @var QuantityInfo
51
+  */
52
+ public $quantityInfo;
53 53
 	
54
-	/**
55
-	 * @var array
56
-	 */
57
-	public $attributeInfo = [];
54
+ /**
55
+  * @var array
56
+  */
57
+ public $attributeInfo = [];
58 58
 }
Please login to merge, or discard this patch.