Passed
Push — master ( fdb910...cfaaf4 )
by Petr
03:01
created
src/Pohoda/Type/Dtos/CurrencyItemDto.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 class CurrencyItemDto extends AbstractDto
9 9
 {
10 10
     #[Attributes\Options\FloatOption]
11
-    public float|string|null $unitPrice = null;
11
+    public float | string | null $unitPrice = null;
12 12
     #[Attributes\Options\FloatOption]
13
-    public float|string|null $price = null;
13
+    public float | string | null $price = null;
14 14
     #[Attributes\Options\FloatOption]
15
-    public float|string|null $priceVAT = null;
15
+    public float | string | null $priceVAT = null;
16 16
     #[Attributes\Options\FloatOption]
17
-    public float|string|null $priceSum = null;
17
+    public float | string | null $priceSum = null;
18 18
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/ShipToAddressDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
     public ?string $zip = null;
22 22
     /** @var array<string|int, string>|string|null */
23 23
     #[Attributes\RefElement]
24
-    public array|string|null $country = null;
24
+    public array | string | null $country = null;
25 25
     #[Attributes\Options\StringOption(40)]
26 26
     public ?string $phone = null;
27 27
     #[Attributes\Options\StringOption(98)]
28 28
     public ?string $email = null;
29 29
     #[Attributes\Options\BooleanOption]
30
-    public bool|string|null $defaultShipAddress = null;
30
+    public bool | string | null $defaultShipAddress = null;
31 31
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/MyAddressDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 
8 8
 class MyAddressDto extends AbstractDto
9 9
 {
10
-    public AddressInternetTypeDto|Type\AddressInternetType|null $address = null;
11
-    public EstablishmentTypeDto|Type\EstablishmentType|null $establishment = null;
10
+    public AddressInternetTypeDto | Type\AddressInternetType | null $address = null;
11
+    public EstablishmentTypeDto | Type\EstablishmentType | null $establishment = null;
12 12
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/LinkDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
     public ?string $sourceAgenda = null;
12 12
     /** @var array<string, string>|string|null */
13 13
     #[Attributes\RefElement]
14
-    public array|string|null $sourceDocument = null;
14
+    public array | string | null $sourceDocument = null;
15 15
     /** @var array<string, string>|string|null */
16 16
     #[Attributes\RefElement]
17
-    public array|string|null $settingsSourceDocument = null;
17
+    public array | string | null $settingsSourceDocument = null;
18 18
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/CurrencyHomeDto.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -8,30 +8,30 @@
 block discarded – undo
8 8
 class CurrencyHomeDto extends AbstractDto
9 9
 {
10 10
     #[Attributes\Options\FloatOption]
11
-    public float|string|null $priceNone = null;
11
+    public float | string | null $priceNone = null;
12 12
     #[Attributes\Options\FloatOption]
13
-    public float|string|null $price3 = null;
13
+    public float | string | null $price3 = null;
14 14
     #[Attributes\Options\FloatOption]
15
-    public float|string|null $price3VAT = null;
15
+    public float | string | null $price3VAT = null;
16 16
     #[Attributes\Options\FloatOption]
17
-    public float|string|null $price3Sum = null;
17
+    public float | string | null $price3Sum = null;
18 18
     #[Attributes\Options\FloatOption]
19
-    public float|string|null $priceLow = null;
19
+    public float | string | null $priceLow = null;
20 20
     #[Attributes\Options\FloatOption]
21
-    public float|string|null $priceLowVAT = null;
21
+    public float | string | null $priceLowVAT = null;
22 22
     #[Attributes\Options\FloatOption, Attributes\AttributeExtend('priceLowVAT', 'rate')]
23
-    public float|string|null $priceLowVatRate = null;
23
+    public float | string | null $priceLowVatRate = null;
24 24
     #[Attributes\Options\FloatOption]
25
-    public float|string|null $priceLowSum = null;
25
+    public float | string | null $priceLowSum = null;
26 26
     #[Attributes\Options\FloatOption]
27
-    public float|string|null $priceHigh = null;
27
+    public float | string | null $priceHigh = null;
28 28
     #[Attributes\Options\FloatOption]
29
-    public float|string|null $priceHighVAT = null;
29
+    public float | string | null $priceHighVAT = null;
30 30
     #[Attributes\Options\FloatOption, Attributes\AttributeExtend('priceHighVAT', 'rate')]
31
-    public float|string|null $priceHighVatRate = null;
31
+    public float | string | null $priceHighVatRate = null;
32 32
     #[Attributes\Options\FloatOption]
33
-    public float|string|null $priceHighSum = null;
33
+    public float | string | null $priceHighSum = null;
34 34
     /** @var array<string, string|float>|string|null */
35 35
     #[Attributes\RefElement]
36
-    public array|string|null $round = null;
36
+    public array | string | null $round = null;
37 37
 }
Please login to merge, or discard this patch.
src/Pohoda/StockTransfer/StockTransferDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class StockTransferDto extends AbstractItemDto
8 8
 {
9
-    public Header|HeaderDto|null $header = null;
9
+    public Header | HeaderDto | null $header = null;
10 10
     /** @var array<Item|ItemDto> */
11 11
     public array $prevodkaDetail = [];
12 12
 }
Please login to merge, or discard this patch.
src/Pohoda/StockTransfer/ItemDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 class ItemDto extends AbstractItemDto
10 10
 {
11 11
     #[Attributes\Options\FloatOption]
12
-    public float|string|null $quantity = null;
13
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
12
+    public float | string | null $quantity = null;
13
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
14 14
     #[Attributes\Options\StringOption(90)]
15 15
     public ?string $note = null;
16 16
 }
Please login to merge, or discard this patch.
src/Pohoda/StockTransfer/HeaderDto.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,27 +11,27 @@
 block discarded – undo
11 11
     #[Attributes\RefElement]
12 12
     public ?string $number = null;
13 13
     #[Attributes\Options\DateOption]
14
-    public \DateTimeInterface|string|null $date = null;
14
+    public \DateTimeInterface | string | null $date = null;
15 15
     #[Attributes\Options\TimeOption]
16
-    public \DateTimeInterface|string|null $time = null;
16
+    public \DateTimeInterface | string | null $time = null;
17 17
     #[Attributes\Options\DateOption]
18
-    public \DateTimeInterface|string|null $dateOfReceipt = null;
18
+    public \DateTimeInterface | string | null $dateOfReceipt = null;
19 19
     #[Attributes\Options\TimeOption]
20
-    public \DateTimeInterface|string|null $timeOfReceipt = null;
20
+    public \DateTimeInterface | string | null $timeOfReceipt = null;
21 21
     #[Attributes\Options\StringOption(20)]
22 22
     public ?string $symPar = null;
23 23
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
24 24
     #[Attributes\RefElement]
25
-    public array|string|null $store = null;
25
+    public array | string | null $store = null;
26 26
     #[Attributes\Options\StringOption(48)]
27 27
     public ?string $text = null;
28
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
28
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
29 29
     #[Attributes\RefElement]
30 30
     public ?string $centreSource = null;
31 31
     public ?string $centreDestination = null;
32 32
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
33 33
     #[Attributes\RefElement]
34
-    public array|string|null $activity = null;
34
+    public array | string | null $activity = null;
35 35
     #[Attributes\RefElement]
36 36
     public ?string $contract = null;
37 37
     public ?string $note = null;
Please login to merge, or discard this patch.
src/Pohoda/Stock/StockItemDto.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,18 +8,18 @@
 block discarded – undo
8 8
 class StockItemDto extends Dtos\AbstractDto
9 9
 {
10 10
     #[Attributes\Options\IntegerOption]
11
-    public int|string|null $id = null;
11
+    public int | string | null $id = null;
12 12
     #[Attributes\RefElement]
13 13
     public ?string $stockInfo = null;
14 14
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
15 15
     #[Attributes\RefElement]
16
-    public array|string|null $storage = null;
16
+    public array | string | null $storage = null;
17 17
     public ?string $code = null;
18 18
     public ?string $name = null;
19 19
     #[Attributes\Options\FloatOption]
20
-    public float|string|null $count = null;
20
+    public float | string | null $count = null;
21 21
     #[Attributes\Options\FloatOption]
22
-    public float|string|null $quantity = null;
22
+    public float | string | null $quantity = null;
23 23
     /** @var array<Price|PriceDto> */
24 24
     public array $stockPriceItem = [];
25 25
 }
Please login to merge, or discard this patch.