Passed
Pull Request — master (#344)
by Andrew
08:55
created
src/Amadeus/Client/Struct/Pnr/AddMultiElements/DataElementsIndiv.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@
 block discarded – undo
290 290
                 break;
291 291
             case 'FareMiscellaneousInformation':
292 292
                 /** @var Element\FareMiscellaneousInformation $element */
293
-                $this->fareElement = new FareElement($element->indicator,$element->passengerType,$element->freeText,$element->officeId);
293
+                $this->fareElement = new FareElement($element->indicator, $element->passengerType, $element->freeText, $element->officeId);
294 294
                 break;
295 295
             default:
296 296
                 throw new InvalidArgumentException('Element type '.$elementType.' is not supported');
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Pnr/AddMultiElements/FareElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,12 +51,12 @@
 block discarded – undo
51 51
      */
52 52
     public $freeTextLong;
53 53
 
54
-    public function __construct($generalIndicator,$passengerType,$freeTextLong,$officeId = null)
54
+    public function __construct($generalIndicator, $passengerType, $freeTextLong, $officeId = null)
55 55
     {
56 56
         $this->generalIndicator = $generalIndicator;
57 57
         $this->passengerType = $passengerType;
58 58
         $this->freeTextLong = $freeTextLong;
59
-        if($officeId){
59
+        if ($officeId) {
60 60
             $this->officeId = $officeId;
61 61
         }
62 62
 
Please login to merge, or discard this patch.