Passed
Push — master ( ed563d...0df382 )
by Artem
04:30
created
Amadeus/Client/RequestOptions/TicketRepricePnrWithBookingClassOptions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 
157 157
 
158 158
     /**
159
-         * This option allows you to override the currency of the office.
159
+     * This option allows you to override the currency of the office.
160 160
      *
161 161
      * @var string
162 162
      */
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/RequestOptions/Fare/MasterPricer/MultiTicketWeights.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -33,21 +33,21 @@
 block discarded – undo
33 33
 class MultiTicketWeights extends LoadParamsFromArray
34 34
 {
35 35
     /**
36
-    * Recommendations for outbound (OWO)
37
-    *
38
-    * @var int
39
-    */
36
+     * Recommendations for outbound (OWO)
37
+     *
38
+     * @var int
39
+     */
40 40
     public $oneWayOutbound;
41 41
     /**
42
-    * Recommendations for inbound (OWI)
43
-    *
44
-    * @var int
45
-    */
42
+     * Recommendations for inbound (OWI)
43
+     *
44
+     * @var int
45
+     */
46 46
     public $oneWayInbound;
47 47
     /**
48
-    * Recommendations for complete journey (RT)
49
-    *
50
-    * @var int
51
-    */
48
+     * Recommendations for complete journey (RT)
49
+     *
50
+     * @var int
51
+     */
52 52
     public $returnTrip;
53 53
 }
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.
src/Amadeus/Client/Struct/Pnr/AddMultiElements/TravellerInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,6 +185,6 @@
 block discarded – undo
185 185
 
186 186
         $monthAndYear = strtoupper($dateOfBirth->format('My'));
187 187
 
188
-        return $day . $monthAndYear;
188
+        return $day.$monthAndYear;
189 189
     }
190 190
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Service/StandaloneCatalogue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function __construct($options)
66 66
     {
67
-        if (! is_null($options)) {
67
+        if (!is_null($options)) {
68 68
             $this->loadPassengers($options->passengers);
69 69
             
70 70
             $this->loadFlightDetails($options->segments);
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $counter = 1;
83 83
         foreach ($passengers as $passenger) {
84 84
             $this->passengerInfoGroup[] = new PassengerInfoGroup($passenger, $counter);
85
-            $counter ++;
85
+            $counter++;
86 86
         }
87 87
     }
88 88
 
Please login to merge, or discard this patch.
src/Amadeus/Client/ResponseHandler/Ticket/HandlerList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
         $errorMessage = (array_key_exists($errorCode, $recognizedErrors)) ? $recognizedErrors[$errorCode] : '';
238 238
 
239 239
         if ($errorMessage === '') {
240
-            $errorMessage = "PROCESS E-TICKET ERROR '" . $errorCode . "' (Error message unavailable)";
240
+            $errorMessage = "PROCESS E-TICKET ERROR '".$errorCode."' (Error message unavailable)";
241 241
         }
242 242
 
243 243
         return $errorMessage;
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/GetFareFamilyDescription/DiscountDetails.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     public function __construct($fareQualifier, $rateCategory)
40 40
     {
41
-        $this->fareQualifier = (string)$fareQualifier;
42
-        $this->rateCategory = (string)$rateCategory;
41
+        $this->fareQualifier = (string) $fareQualifier;
42
+        $this->rateCategory = (string) $rateCategory;
43 43
     }
44 44
 }
Please login to merge, or discard this patch.