Passed
Pull Request — master (#17)
by Laurens
06:20
created
src/API/Product/Product.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Product;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         ?string $description = null,
34 34
         ImageCollection $imageCollection,
35 35
         VariantCollection $variants,
36
-        ?string $externalReference =  null,
36
+        ?string $externalReference = null,
37 37
         string $etag,
38 38
         DateTime $updatedAt,
39 39
         UuidInterface $updatedBy,
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         ImageCollection $imageCollection,
64 64
         VariantCollection $variants,
65 65
         ?string $externalReference = null
66
-    ): self {
66
+    ) : self {
67 67
         return new self(
68 68
             Uuid::uuid1(),
69 69
             $categories,
Please login to merge, or discard this patch.
src/API/Product/Discount.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Product;
6 6
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         ?Money $amount = null,
61 61
         ?float $percentage = null,
62 62
         ?string $externalReference = null
63
-    ): self {
63
+    ) : self {
64 64
         return new self(
65 65
             Uuid::uuid1(),
66 66
             $name,
Please login to merge, or discard this patch.
src/API/Product/DiscountCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Product;
6 6
 
Please login to merge, or discard this patch.
src/API/Product/ProductCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Product;
6 6
 
Please login to merge, or discard this patch.
src/API/Product/CategoryCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Product;
6 6
 
@@ -25,12 +25,12 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function remove(Category $category): void
27 27
     {
28
-        unset($this->collection[(string)$category->getUuid()]);
28
+        unset($this->collection[(string) $category->getUuid()]);
29 29
     }
30 30
 
31 31
     public function get(UuidInterface $key): Category
32 32
     {
33
-        return $this->collection[(string)$key];
33
+        return $this->collection[(string) $key];
34 34
     }
35 35
 
36 36
     /** @return Category[] */
Please login to merge, or discard this patch.
src/API/Product/VariantCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Product;
6 6
 
@@ -25,12 +25,12 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function remove(Variant $variant): void
27 27
     {
28
-        unset($this->collection[(string)$variant->getUuid()]);
28
+        unset($this->collection[(string) $variant->getUuid()]);
29 29
     }
30 30
 
31 31
     public function get(UuidInterface $key): Variant
32 32
     {
33
-        return $this->collection[(string)$key];
33
+        return $this->collection[(string) $key];
34 34
     }
35 35
 
36 36
     /** @return Variant[] */
Please login to merge, or discard this patch.
src/API/Finance/Enum/TransactionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Finance\Enum;
6 6
 
Please login to merge, or discard this patch.