Passed
Push — master ( fdb910...cfaaf4 )
by Petr
03:01
created
src/Pohoda/Order/SummaryDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     public ?string $roundingDocument = null;
13 13
     #[Attributes\Options\ListOption(['none', 'noneEveryRate', 'up2tenthEveryItem', 'up2tenthEveryRate', 'math2tenthEveryItem', 'math2tenthEveryRate', 'math2halfEveryItem', 'math2halfEveryRate', 'math2intEveryItem', 'math2intEveryRate'])]
14 14
     public ?string $roundingVAT = null;
15
-    public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null;
16
-    public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null;
15
+    public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null;
16
+    public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null;
17 17
     #[Attributes\ResponseDirection, Attributes\Options\StringOption]
18 18
     public ?string $typeCalculateVATInclusivePrice = null;
19 19
 }
Please login to merge, or discard this patch.
src/Pohoda/Order/ItemDto.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -11,32 +11,32 @@  discard block
 block discarded – undo
11 11
     #[Attributes\Options\StringOption(90)]
12 12
     public ?string $text = null;
13 13
     #[Attributes\Options\FloatOption]
14
-    public float|string|null $quantity = null;
14
+    public float | string | null $quantity = null;
15 15
     #[Attributes\Options\FloatOption]
16
-    public float|string|null $delivered = null;
16
+    public float | string | null $delivered = null;
17 17
     #[Attributes\Options\StringOption(10)]
18 18
     public ?string $unit = null;
19 19
     #[Attributes\Options\FloatOption]
20
-    public float|string|null $coefficient = null;
20
+    public float | string | null $coefficient = null;
21 21
     #[Attributes\Options\BooleanOption]
22
-    public bool|string|null $payVAT = null;
22
+    public bool | string | null $payVAT = null;
23 23
     #[Attributes\Options\ListOption(['none', 'high', 'low', 'third', 'historyHigh', 'historyLow', 'historyThird'])]
24 24
     public ?string $rateVAT = null;
25 25
     #[Attributes\Options\FloatOption, Attributes\AttributeExtend('rateVAT', 'value')]
26
-    public float|string|null $rateVatValue = null;
26
+    public float | string | null $rateVatValue = null;
27 27
     #[Attributes\Options\FloatOption]
28
-    public float|string|null $percentVAT = null;
28
+    public float | string | null $percentVAT = null;
29 29
     #[Attributes\Options\FloatOption]
30
-    public float|string|null $discountPercentage = null;
31
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null;
32
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null;
30
+    public float | string | null $discountPercentage = null;
31
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null;
32
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null;
33 33
     #[Attributes\RefElement]
34 34
     public ?string $typeServiceMOSS = null;
35 35
     #[Attributes\Options\StringOption(90)]
36 36
     public ?string $note = null;
37 37
     #[Attributes\Options\StringOption(64)]
38 38
     public ?string $code = null;
39
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
39
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
40 40
     #[Attributes\RefElement]
41 41
     public ?string $centre = null;
42 42
     #[Attributes\RefElement]
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     #[Attributes\RefElement]
45 45
     public ?string $contract = null;
46 46
     #[Attributes\Options\BooleanOption]
47
-    public bool|string|null $PDP = null;
47
+    public bool | string | null $PDP = null;
48 48
     #[Attributes\ResponseDirection, Attributes\Options\IntegerOption]
49 49
     public ?string $id = null;
50 50
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
Please login to merge, or discard this patch.
src/Pohoda/Order/HeaderDto.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -14,34 +14,34 @@  discard block
 block discarded – undo
14 14
     public ?string $orderType = null;
15 15
     /** @var array<string, string|int|float|bool>|string|null */
16 16
     #[Attributes\RefElement]
17
-    public array|string|null $number = null;
17
+    public array | string | null $number = null;
18 18
     #[Attributes\Options\StringOption(32)]
19 19
     public ?string $numberOrder = null;
20 20
     #[Attributes\Options\DateOption]
21
-    public \DateTimeInterface|string|null $date = null;
21
+    public \DateTimeInterface | string | null $date = null;
22 22
     #[Attributes\Options\DateOption]
23
-    public \DateTimeInterface|string|null $dateDelivery = null;
23
+    public \DateTimeInterface | string | null $dateDelivery = null;
24 24
     #[Attributes\Options\DateOption]
25
-    public \DateTimeInterface|string|null $dateFrom = null;
25
+    public \DateTimeInterface | string | null $dateFrom = null;
26 26
     #[Attributes\Options\DateOption]
27
-    public \DateTimeInterface|string|null $dateTo = null;
27
+    public \DateTimeInterface | string | null $dateTo = null;
28 28
     #[Attributes\Options\StringOption(240)]
29 29
     public ?string $text = null;
30
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
31
-    public Type\Dtos\MyAddressDto|Type\MyAddress|null $myIdentity = null;
30
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
31
+    public Type\Dtos\MyAddressDto | Type\MyAddress | null $myIdentity = null;
32 32
     #[Attributes\RefElement]
33 33
     public ?string $paymentType = null;
34 34
     #[Attributes\RefElement]
35 35
     public ?string $priceLevel = null;
36 36
     #[Attributes\Options\BooleanOption]
37
-    public bool|string|null $isExecuted = null;
37
+    public bool | string | null $isExecuted = null;
38 38
     #[Attributes\Options\BooleanOption]
39
-    public bool|string|null $isReserved = null;
39
+    public bool | string | null $isReserved = null;
40 40
     #[Attributes\RefElement]
41 41
     public ?string $centre = null;
42 42
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
43 43
     #[Attributes\RefElement]
44
-    public array|string|null $activity = null;
44
+    public array | string | null $activity = null;
45 45
     #[Attributes\RefElement]
46 46
     public ?string $contract = null;
47 47
     #[Attributes\RefElement]
@@ -56,15 +56,15 @@  discard block
 block discarded – undo
56 56
     public ?string $carrier = null;
57 57
     public ?string $intNote = null;
58 58
     #[Attributes\Options\BooleanOption]
59
-    public bool|string|null $markRecord = null;
59
+    public bool | string | null $markRecord = null;
60 60
     #[Attributes\Options\BooleanOption]
61
-    public bool|string|null $histRate = null;
61
+    public bool | string | null $histRate = null;
62 62
     #[Attributes\ResponseDirection, Attributes\Options\IntegerOption]
63 63
     public ?int $id = null;
64 64
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
65
-    public bool|string|null $isDelivered = null;
65
+    public bool | string | null $isDelivered = null;
66 66
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
67
-    public bool|string|null $permanentDocument = null;
67
+    public bool | string | null $permanentDocument = null;
68 68
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
69 69
     public array $parameters = [];
70 70
 }
Please login to merge, or discard this patch.
src/Pohoda/Order/OrderDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,9 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class OrderDto extends Document\AbstractDocumentDto
9 9
 {
10
-    public Header|HeaderDto|null $header = null;
10
+    public Header | HeaderDto | null $header = null;
11 11
     /** @var array<Item|ItemDto> */
12 12
     public array $details = [];
13
-    public Summary|SummaryDto|null $summary = null;
14
-    public Type\ActionType|Type\Dtos\ActionTypeDto|null $actionType = null;
13
+    public Summary | SummaryDto | null $summary = null;
14
+    public Type\ActionType | Type\Dtos\ActionTypeDto | null $actionType = null;
15 15
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/AddressTypeDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public ?string $icDph = null;
30 30
     /** @var array<string|int, string>|string|null */
31 31
     #[Attributes\RefElement]
32
-    public array|string|null $country = null;
32
+    public array | string | null $country = null;
33 33
     #[Attributes\Options\StringOption(40)]
34 34
     public ?string $phone = null;
35 35
     #[Attributes\Options\StringOption(24)]
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/StockItemDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
     public ?string $store = null;
13 13
     /** @var string|AbstractAgenda|array<string, string|int|float|bool|array<string, string|int|float|bool>>|null */
14 14
     #[Attributes\RefElement]
15
-    public string|AbstractAgenda|array|null $stockItem = null;
15
+    public string | AbstractAgenda | array | null $stockItem = null;
16 16
     #[Attributes\Options\BooleanOption, Attributes\AttributeExtend('stockItem', 'insertAttachStock')]
17
-    public bool|string|null $insertAttachStock = null;
17
+    public bool | string | null $insertAttachStock = null;
18 18
     #[Attributes\Options\BooleanOption, Attributes\AttributeExtend('stockItem', 'applyUserSettingsFilterOnTheStore')]
19
-    public bool|string|null $applyUserSettingsFilterOnTheStore = null;
19
+    public bool | string | null $applyUserSettingsFilterOnTheStore = null;
20 20
     #[Attributes\Options\StringOption(40)]
21 21
     public ?string $serialNumber = null;
22 22
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/AddressDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     public ?int $id = null;
13 13
     #[Attributes\RefElement]
14 14
     public ?string $extId = null;
15
-    public AddressTypeDto|Type\AddressType|null $address = null;
15
+    public AddressTypeDto | Type\AddressType | null $address = null;
16 16
     #[Attributes\Options\BooleanOption, Attributes\AttributeExtend('address', 'linkToAddress')]
17
-    public bool|string|null $addressLinkToAddress = null;
18
-    public ShipToAddressDto|Type\ShipToAddressType|null $shipToAddress = null;
17
+    public bool | string | null $addressLinkToAddress = null;
18
+    public ShipToAddressDto | Type\ShipToAddressType | null $shipToAddress = null;
19 19
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/TaxDocumentDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
 
8 8
 class TaxDocumentDto extends AbstractDto
9 9
 {
10
-    public SourceLiquidationDto|Type\SourceLiquidation|null $sourceLiquidation = null;
10
+    public SourceLiquidationDto | Type\SourceLiquidation | null $sourceLiquidation = null;
11 11
 }
Please login to merge, or discard this patch.
src/Pohoda/Type/Dtos/CurrencyForeignDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
     #[Attributes\RefElement]
11 11
     public ?string $currency = null;
12 12
     #[Attributes\Options\FloatOption]
13
-    public float|string|null $rate = null;
13
+    public float | string | null $rate = null;
14 14
     #[Attributes\Options\IntegerOption]
15
-    public int|string|null $amount = null;
15
+    public int | string | null $amount = 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.