Completed
Push — master ( 43dae8...61751c )
by Fabian
24s queued 11s
created
src/Catalog/CategoryBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
         $category->setName('Child Category');
101 101
         $category->setIsActive(true);
102
-        $category->setPath((string)$parent->getCategory()->getPath());
102
+        $category->setPath((string) $parent->getCategory()->getPath());
103 103
 
104 104
         return new self(
105 105
             $objectManager->create(CategoryRepositoryInterface::class),
Please login to merge, or discard this patch.
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.