Completed
Pull Request — master (#220)
by
unknown
15:38 queued 04:38
created
src/Amadeus/Client/Struct/Service/IntegratedPricing.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
 
182 182
     /**
183 183
      * @param string $overrideCode
184
-     * @param string|array|null $options
184
+     * @param string $options
185 185
      * @param PaxSegRef[] $references
186 186
      * @return PricingOption[]
187 187
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use Amadeus\Client\RequestOptions\Service\FrequentFlyer;
28 28
 use Amadeus\Client\RequestOptions\ServiceIntegratedCatalogueOptions;
29 29
 use Amadeus\Client\RequestOptions\ServiceIntegratedPricingOptions;
30
-use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions;
31 30
 use Amadeus\Client\Struct\Fare\BasePricingMessage;
32 31
 use Amadeus\Client\Struct\Fare\PricePnr13\CarrierInformation;
33 32
 use Amadeus\Client\Struct\Fare\PricePnr13\Currency;
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.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue/FlightInfo.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 
23 23
 namespace Amadeus\Client\Struct\Service\StandaloneCatalogue;
24 24
 
25
-use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment;
26 25
 use Amadeus\Client\Struct\Fare\InformativePricing13\SegmentGroup;
27 26
 use Amadeus\Client\Struct\Fare\InformativePricing13\SegmentInformation;
28 27
 use Amadeus\Client\Struct\Air\FlightTypeDetails;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     protected function loadOptionalSegmentInformation($options)
71 71
     {
72
-        if (! empty($options->operatingCompany)) {
72
+        if (!empty($options->operatingCompany)) {
73 73
             $this->flightDetails->companyDetails->operatingCompany = $options->operatingCompany;
74 74
         }
75 75
         
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             $this->flightDetails->flightDate->setArrivalDate($options->arrivalDate);
78 78
         }
79 79
         
80
-        if (! empty($options->groupNumber)) {
80
+        if (!empty($options->groupNumber)) {
81 81
             $this->flightDetails->flightTypeDetails = new FlightTypeDetails($options->groupNumber);
82 82
         }
83 83
         
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,6 @@
 block discarded – undo
24 24
 use Amadeus\Client\Struct\BaseWsMessage;
25 25
 use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\Passenger;
26 26
 use Amadeus\Client\RequestOptions\Fare\InformativePricing\Segment;
27
-use Amadeus\Client\RequestOptions\Service\StandaloneCatalogue\ServiceStandalonePricingOptions;
28
-use Amadeus\Client\RequestOptions\ServiceIntegratedPricingOptions;
29 27
 use Amadeus\Client\RequestOptions\ServiceStandaloneCatalogueOptions;
30 28
 use Amadeus\Client\Struct\Service\StandaloneCatalogue\PassengerInfoGroup;
31 29
 use Amadeus\Client\Struct\Service\StandaloneCatalogue\FlightInfo;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function __construct($options)
67 67
     {
68
-        if (! is_null($options)) {
68
+        if (!is_null($options)) {
69 69
             $this->loadPassengers($options->passengers);
70 70
             
71 71
             $this->loadflightDetails($options->segments);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $counter = 1;
84 84
         foreach ($passengers as $passenger) {
85 85
             $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter);
86
-            $counter ++;
86
+            $counter++;
87 87
         }
88 88
     }
89 89
 
Please login to merge, or discard this patch.