@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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, |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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, |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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[] */ |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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[] */ |
@@ -1,6 +1,6 @@ |
||
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 |