Test Failed
Pull Request — master (#220)
by
unknown
11:53 queued 01:42
created
src/Amadeus/Client/Struct/Pnr/AddMultiElements/DataElementsIndiv.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     public $referenceForDataElement;
135 135
 
136 136
     /**
137
-     * @param Element|string $element Either an element or an element name
137
+     * @param Element $element Either an element or an element name
138 138
      * @param int $tattoo Unique tattoo number for this element
139 139
      * @throws \ReflectionException
140 140
      */
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
 class StandaloneCatalogue extends BaseWsMessage
41 41
 {
42 42
      /**
43
-     * @var passengerInfoGroup[]
44
-     */
43
+      * @var passengerInfoGroup[]
44
+      */
45 45
     public $passengerInfoGroup = [];
46 46
 
47 47
     /**
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function __construct($options)
63 63
     {
64 64
         if (!is_null($options)) {
65
-           	$this->loadPassengers($options->passengers);
65
+            $this->loadPassengers($options->passengers);
66 66
            			
67 67
             $this->loadflightDetails($options->segments);
68 68
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     protected function loadPassengers($passengers)
77 77
     {
78 78
         $counter = 1;
79
-		foreach ($passengers as $passenger) {
79
+  foreach ($passengers as $passenger) {
80 80
             $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter);
81 81
             $counter++;
82 82
         }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,7 @@
 block discarded – undo
26 26
 use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\Passenger;
27 27
 use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment;
28 28
 use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions;
29
-
30 29
 use Amadeus\Client\Struct\Service\StandaloneCatalogue\PassengerInfoGroup;
31
-use Amadeus\Client\Struct\Service\StandaloneCatalogue\FlightInfo;
32 30
 use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\PricingOptions;
33 31
 
34 32
 /**
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/PricePnr13/PricingOptionGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      * @param string $key
97 97
      * @param string $optionDetail
98 98
      */
99
-    public function __construct($key, $optionDetail=null)
99
+    public function __construct($key, $optionDetail = null)
100 100
     {
101 101
         $this->pricingOptionKey = new PricingOptionKey($key);
102 102
         if (isset($optionDetail)) {
Please login to merge, or discard this patch.
Amadeus/Client/Struct/Service/StandaloneCatalogue/PassengerInfoGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     {
56 56
         $this->specificTravellerDetails = new SpecificTravellerDetails($referenceNumber);
57 57
         
58
-        if (! empty($passenger->type)) {
58
+        if (!empty($passenger->type)) {
59 59
             $this->fareInfo = new FareInfo($passenger->type);
60 60
         }
61 61
     }
Please login to merge, or discard this patch.