Completed
Pull Request — master (#43)
by Dieter
13:45
created
src/Amadeus/Client/Struct/Fop/AddressDetails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     public function __construct($addressLines)
77 77
     {
78 78
         foreach ($addressLines as $key => $line) {
79
-            $lineNumProp = 'line'.($key+1);
79
+            $lineNumProp = 'line'.($key + 1);
80 80
             if (property_exists($this, $lineNumProp)) {
81 81
                 $this->$lineNumProp = $line;
82 82
             }
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fare/MasterPricer/FeeId.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,11 +59,11 @@
 block discarded – undo
59 59
     public $feeIdNumber;
60 60
 
61 61
     /**
62
-      * FeeId constructor.
63
-      *
64
-      * @param string|null $feeType
65
-      * @param int|null $feeIdNumber
66
-      */
62
+     * FeeId constructor.
63
+     *
64
+     * @param string|null $feeType
65
+     * @param int|null $feeIdNumber
66
+     */
67 67
     public function __construct($feeType = null, $feeIdNumber = null)
68 68
     {
69 69
         if (!is_null($feeType)) {
Please login to merge, or discard this patch.
src/Amadeus/Client/Struct/Fop/ExtendedPaymentDetails.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,11 +172,11 @@
 block discarded – undo
172 172
                 case self::FORMAT_YYDDD:
173 173
                     $date = $startDate->format('yz');
174 174
                     if (strlen($date) === 4) {
175
-                        $date = substr($date, 0, 2) . "0" . substr($date, 2);
175
+                        $date = substr($date, 0, 2)."0".substr($date, 2);
176 176
                     }
177 177
                     break;
178 178
                 default:
179
-                    throw new \RuntimeException("Installments Format '" . $format . "' is not implemented!");
179
+                    throw new \RuntimeException("Installments Format '".$format."' is not implemented!");
180 180
             }
181 181
         }
182 182
 
Please login to merge, or discard this patch.