Passed
Push — master ( 2ea295...6493d0 )
by Dieter
05:58
created
src/Amadeus/Client/Struct/Pnr/NameChange/TravellerNameInfo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
      *
170 170
      * @param int $identifier
171 171
      * @param string|null $type
172
-     * @param string|int|null $infantIndicator
172
+     * @param integer|null $infantIndicator
173 173
      */
174 174
     public function __construct($identifier, $type = null, $infantIndicator = null)
175 175
     {
Please login to merge, or discard this patch.
src/Amadeus/Client/ResponseHandler/StandardResponseHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -341,7 +341,7 @@
 block discarded – undo
341 341
         return implode(
342 342
             ' - ',
343 343
             array_map(
344
-                function ($item) {
344
+                function($item) {
345 345
                     return trim($item->nodeValue);
346 346
                 },
347 347
                 iterator_to_array($errorTextNodeList)
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/PricePnr13/FormOfPayment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     /**
134 134
      * FormOfPayment constructor.
135 135
      *
136
-     * @param string|FormOfPaymentOptions $options self::TYPE_* or object with FOP options
136
+     * @param FormOfPaymentOptions $options self::TYPE_* or object with FOP options
137 137
      */
138 138
     public function __construct($options)
139 139
     {
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/DocRefund/StatusDetails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     const INDICATOR_NOT_REPORTED_REFUND = "NRP";
40 40
     const INDICATOR_NO_SHOW = "NS";
41 41
     const INDICATOR_ZERO_REFUND = "NUL";
42
-    const INDICATOR_HOLD_FOR_FUTURE_USE= "RTF";
42
+    const INDICATOR_HOLD_FOR_FUTURE_USE = "RTF";
43 43
     const INDICATOR_TAXES = "TAX";
44 44
 
45 45
 
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Air/MultiAvailability/RequestSection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
      * Keys are option types (RequestOptions::OPTION_TYPE_*),
183 183
      * values are option arguments.
184 184
      *
185
-     * @param $availabilityOptions
185
+     * @param string[] $availabilityOptions
186 186
      */
187 187
     protected function loadAvailabilityOptions($availabilityOptions)
188 188
     {
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/MasterPricer/FareOptions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@
 block discarded – undo
165 165
         $this->pricingTickInfo->pricingTicketing->priceType[] = $type;
166 166
     }
167 167
 
168
+    /**
169
+     * @param MPTicketingPriceScheme $ticketingPriceScheme
170
+     */
168 171
     protected function loadTicketingPriceScheme($ticketingPriceScheme)
169 172
     {
170 173
         $priceScheme = new TicketingPriceScheme();
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.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue/FlightInfo.php 1 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.