Passed
Pull Request — master (#46)
by
unknown
02:15
created
src/API/Product/Variant.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         ?Money $price = null,
58 58
         ?Money $costPrice = null,
59 59
         float $vatPercentage
60
-    ): self {
60
+    ) : self {
61 61
         return new self(
62 62
             Uuid::uuid1(),
63 63
             $name,
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         ];
141 141
 
142 142
         if ($this->costPrice) {
143
-            $data['costPrice'] =[
143
+            $data['costPrice'] = [
144 144
                 'amount' => $this->costPrice->getAmount(),
145 145
                 'currencyId' => (string) $this->costPrice->getCurrency()
146 146
             ];
Please login to merge, or discard this patch.