Completed
Pull Request — master (#72)
by Fabian
16:05
created
src/Checkout/CustomerCheckout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
         // Collect missing totals, like shipping
173 173
         $reloadedQuote->collectTotals();
174 174
         $order = $this->quoteManagement->submit($reloadedQuote);
175
-        if (! $order instanceof Order) {
175
+        if (!$order instanceof Order) {
176 176
             $returnType = is_object($order) ? get_class($order) : gettype($order);
177 177
             throw new \RuntimeException('QuoteManagement::submit() returned ' . $returnType . ' instead of Order');
178 178
         }
Please login to merge, or discard this patch.
src/Catalog/OptionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
             $attributeValues[$attribute->getAttributeId()][$option['label']] = $option['value'];
207 207
         }
208 208
         if (isset($attributeValues[$attribute->getAttributeId()][$this->optionLabel->getLabel()])) {
209
-            return (int)$attributeValues[$attribute->getAttributeId()][$this->optionLabel->getLabel()];
209
+            return (int) $attributeValues[$attribute->getAttributeId()][$this->optionLabel->getLabel()];
210 210
         }
211 211
 
212 212
         throw new \RuntimeException('Error building option');
Please login to merge, or discard this patch.
src/Sales/OrderFixtureRollback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             $this->customerRepository->deleteById($orderFixture->getCustomerId());
82 82
             array_walk(
83 83
                 $orderItems,
84
-                function (OrderItemInterface $orderItem) {
84
+                function(OrderItemInterface $orderItem) {
85 85
                     try {
86 86
                         $this->productRepository->deleteById($orderItem->getSku());
87 87
                     } catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
Please login to merge, or discard this patch.