@@ -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'); |