Completed
Branch master (17727f)
by Baldur
03:16
created
Category
Model/Order.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,12 +163,12 @@
 block discarded – undo
163 163
             'to_state' => $this->toAddress->getState(),
164 164
             'to_zip' => $this->toAddress->getZip(),
165 165
             'to_country' => $this->toAddress->getCountry(),
166
-            'line_items' => array_map(function (LineItem $elem) {
166
+            'line_items' => array_map(function(LineItem $elem) {
167 167
                 return $elem->toArray();
168 168
             }, $this->lineItems),
169 169
             'amount' => $this->getAmount(),
170 170
             'shipping' => $this->getShipping(),
171
-            'nexus_addresses' => array_map(function (Address $elem, $id) {
171
+            'nexus_addresses' => array_map(function(Address $elem, $id) {
172 172
                 return array_merge($elem->toArray(), ['id' => $id, ]);
173 173
             }, $this->nexusAddresses, array_keys($this->nexusAddresses)),
174 174
         ];
Please login to merge, or discard this patch.