@@ -172,7 +172,7 @@ |
||
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 | } |
@@ -206,7 +206,7 @@ |
||
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'); |
@@ -81,7 +81,7 @@ |
||
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) { |