Passed
Push — master ( 347387...5b95ab )
by Artem
03:35
created
src/Amadeus/Client/Struct/Fare/GetFareFamilyDescription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function __construct($options)
28 28
     {
29 29
         foreach ($options->referenceGroups as $referenceGroup) {
30
-            $references = array_map(function (Reference $reference) {
30
+            $references = array_map(function(Reference $reference) {
31 31
                 return new ReferenceDetails(
32 32
                     $reference->getType(),
33 33
                     $reference->getValue()
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.
Client/Struct/Fare/GetFareFamilyDescription/CompanyIdentification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,6 @@
 block discarded – undo
35 35
 
36 36
     public function __construct($otherCompany)
37 37
     {
38
-        $this->otherCompany = (string)$otherCompany;
38
+        $this->otherCompany = (string) $otherCompany;
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
Client/Struct/Fare/GetFareFamilyDescription/ItineraryInformation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     public function __construct(ItineraryInfo $itineraryInfo)
42 42
     {
43
-        $this->origin = (string)$itineraryInfo->origin;
44
-        $this->destination = (string)$itineraryInfo->destination;
43
+        $this->origin = (string) $itineraryInfo->origin;
44
+        $this->destination = (string) $itineraryInfo->destination;
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/GetFareFamilyDescription/DateTime.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
 
42 42
     public function __construct(\DateTime $dateTime)
43 43
     {
44
-        $this->year = (int)$dateTime->format('Y');
45
-        $this->month = (int)$dateTime->format('m');
46
-        $this->day = (int)$dateTime->format('d');
44
+        $this->year = (int) $dateTime->format('Y');
45
+        $this->month = (int) $dateTime->format('m');
46
+        $this->day = (int) $dateTime->format('d');
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
src/Amadeus/Client/RequestOptions/Fop/ThreeDSecureInfo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,8 +60,8 @@  discard block
 block discarded – undo
60 60
     const CREDIT_CARD_COMPANY_JCB = 'JCDS';
61 61
 
62 62
     const AUTHENTICATION_VERIFICATION_CODE_VISA = 'CAVV';
63
-    const AUTHENTICATION_VERIFICATION_CODE_AMERICAN_EXPRESS  = 'AEVV';
64
-    const AUTHENTICATION_VERIFICATION_CODE_MASTERCARD  = 'AAV';
63
+    const AUTHENTICATION_VERIFICATION_CODE_AMERICAN_EXPRESS = 'AEVV';
64
+    const AUTHENTICATION_VERIFICATION_CODE_MASTERCARD = 'AAV';
65 65
 
66 66
     /**
67 67
      * VERES status
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     /**
175 175
      * @var string
176 176
      */
177
-    public $tdsAuthenticationVerificationCodeDataType =  self::DATATYPE_BINARY;
177
+    public $tdsAuthenticationVerificationCodeDataType = self::DATATYPE_BINARY;
178 178
 
179 179
     /**
180 180
      * 3DS authentication verification code
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Travel/OfferPrice/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         return new SelectedOffer(
39 39
             $selectedOffer->ownerCode,
40 40
             $selectedOffer->shoppingResponseRefID,
41
-            array_map(static function (TravelRequest\SelectedOfferItem $selectedOfferItem) {
41
+            array_map(static function(TravelRequest\SelectedOfferItem $selectedOfferItem) {
42 42
                 return new SelectedOfferItem(
43 43
                     $selectedOfferItem->offerItemRefId,
44 44
                     $selectedOfferItem->paxRefId
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Travel/PaxList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     private function loadPaxes(TravelRequest\PaxList $requestPaxList)
29 29
     {
30
-        $this->Pax = array_map(static function (TravelRequest\Pax $requestPax) {
30
+        $this->Pax = array_map(static function(TravelRequest\Pax $requestPax) {
31 31
             $individual = null;
32 32
 
33 33
             if ($requestPax->firstName && $requestPax->lastName) {
Please login to merge, or discard this patch.