@@ -7,6 +7,6 @@ |
||
| 7 | 7 | |
| 8 | 8 | class AddressBookDto extends Dtos\AbstractDto |
| 9 | 9 | { |
| 10 | - public Type\ActionType|Type\Dtos\ActionTypeDto|null $actionType = null; |
|
| 11 | - public Header|HeaderDto|null $header = null; |
|
| 10 | + public Type\ActionType | Type\Dtos\ActionTypeDto | null $actionType = null; |
|
| 11 | + public Header | HeaderDto | null $header = null; |
|
| 12 | 12 | } |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | |
| 9 | 9 | class HeaderDto extends AbstractHeaderDto |
| 10 | 10 | { |
| 11 | - public Type\Address|Type\Dtos\AddressDto|null $identity = null; |
|
| 11 | + public Type\Address | Type\Dtos\AddressDto | null $identity = null; |
|
| 12 | 12 | #[Attributes\Options\StringOption(32)] |
| 13 | 13 | public ?string $region = null; |
| 14 | 14 | #[Attributes\Options\StringOption(40)] |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | #[Attributes\Options\StringOption(32)] |
| 29 | 29 | public ?string $GPS = null; |
| 30 | 30 | #[Attributes\Options\FloatOption] |
| 31 | - public float|string|null $credit = null; |
|
| 31 | + public float | string | null $credit = null; |
|
| 32 | 32 | #[Attributes\Options\StringOption(10)] |
| 33 | 33 | public ?string $priceIDS = null; |
| 34 | 34 | #[Attributes\Options\IntegerOption] |
@@ -45,19 +45,19 @@ discard block |
||
| 45 | 45 | #[Attributes\Options\StringOption(8)] |
| 46 | 46 | public ?string $ost2 = null; |
| 47 | 47 | #[Attributes\Options\BooleanOption] |
| 48 | - public bool|string|null $p1 = null; |
|
| 48 | + public bool | string | null $p1 = null; |
|
| 49 | 49 | #[Attributes\Options\BooleanOption] |
| 50 | - public bool|string|null $p2 = null; |
|
| 50 | + public bool | string | null $p2 = null; |
|
| 51 | 51 | #[Attributes\Options\BooleanOption] |
| 52 | - public bool|string|null $p3 = null; |
|
| 52 | + public bool | string | null $p3 = null; |
|
| 53 | 53 | #[Attributes\Options\BooleanOption] |
| 54 | - public bool|string|null $p4 = null; |
|
| 54 | + public bool | string | null $p4 = null; |
|
| 55 | 55 | #[Attributes\Options\BooleanOption] |
| 56 | - public bool|string|null $p5 = null; |
|
| 56 | + public bool | string | null $p5 = null; |
|
| 57 | 57 | #[Attributes\Options\BooleanOption] |
| 58 | - public bool|string|null $p6 = null; |
|
| 58 | + public bool | string | null $p6 = null; |
|
| 59 | 59 | #[Attributes\Options\BooleanOption] |
| 60 | - public bool|string|null $markRecord = null; |
|
| 60 | + public bool | string | null $markRecord = null; |
|
| 61 | 61 | #[Attributes\Options\StringOption(64)] |
| 62 | 62 | public ?string $message = null; |
| 63 | 63 | public ?string $note = null; |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | public ?string $foreignCurrency = null; |
| 81 | 81 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 82 | 82 | #[Attributes\RefElement] |
| 83 | - public array|string|null $centre = null; |
|
| 83 | + public array | string | null $centre = null; |
|
| 84 | 84 | #[Attributes\RefElement] |
| 85 | 85 | public ?string $activity = null; |
| 86 | 86 | #[Attributes\RefElement] |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | protected function createXML(): SimpleXMLElement |
| 108 | 108 | { |
| 109 | 109 | $np = $this->dependenciesFactory->getNamespacePaths()->allNamespaces(); |
| 110 | - return new SimpleXMLElement('<?xml version="1.0" encoding="' . $this->dependenciesFactory->getSanitizeEncoding()->getEncoding() . '"?><root ' . \implode(' ', \array_map(function ($k, $v) { |
|
| 110 | + return new SimpleXMLElement('<?xml version="1.0" encoding="' . $this->dependenciesFactory->getSanitizeEncoding()->getEncoding() . '"?><root ' . \implode(' ', \array_map(function($k, $v) { |
|
| 111 | 111 | return 'xmlns:' . $k . '="' . $v . '"'; |
| 112 | 112 | }, \array_keys($np), \array_values($np))) . '></root>'); |
| 113 | 113 | } |
@@ -301,7 +301,7 @@ discard block |
||
| 301 | 301 | return \htmlspecialchars( |
| 302 | 302 | \array_reduce( |
| 303 | 303 | $sanitizeEncoding->getListing()->getTransformers(), |
| 304 | - function (string $value, ValueTransformer\ValueTransformerInterface $transformer): string { |
|
| 304 | + function(string $value, ValueTransformer\ValueTransformerInterface $transformer): string { |
|
| 305 | 305 | return $transformer->transform($value); |
| 306 | 306 | }, |
| 307 | 307 | \strval($value), |
@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | protected function getChildNamespacePrefix(string $defaultPrefix): string |
| 371 | 371 | { |
| 372 | 372 | if (!empty($this->getImportRoot()) && $this->directionAsResponse) { |
| 373 | - list($prefix, ) = explode(':', $this->getImportRoot()); |
|
| 373 | + list($prefix,) = explode(':', $this->getImportRoot()); |
|
| 374 | 374 | return $prefix; |
| 375 | 375 | } |
| 376 | 376 | return $defaultPrefix; |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | public ?string $name = null; |
| 13 | 13 | public ?string $description = null; |
| 14 | 14 | #[Attributes\Options\IntegerOption] |
| 15 | - public int|string|null $sequence = null; |
|
| 15 | + public int | string | null $sequence = null; |
|
| 16 | 16 | #[Attributes\Options\BooleanOption] |
| 17 | - public bool|string|null $displayed = null; |
|
| 17 | + public bool | string | null $displayed = null; |
|
| 18 | 18 | public ?string $picture = null; |
| 19 | 19 | public ?string $note = null; |
| 20 | 20 | /** @var array<self|Category> */ |
@@ -17,17 +17,17 @@ discard block |
||
| 17 | 17 | public ?string $originalDocumentNumber = null; |
| 18 | 18 | public ?string $originalCorrectiveDocument = null; |
| 19 | 19 | #[Attributes\Options\DateOption] |
| 20 | - public \DateTimeInterface|string|null $date = null; |
|
| 20 | + public \DateTimeInterface | string | null $date = null; |
|
| 21 | 21 | #[Attributes\Options\DateOption] |
| 22 | - public \DateTimeInterface|string|null $dateTax = null; |
|
| 22 | + public \DateTimeInterface | string | null $dateTax = null; |
|
| 23 | 23 | #[Attributes\Options\DateOption] |
| 24 | - public \DateTimeInterface|string|null $dateAccounting = null; |
|
| 24 | + public \DateTimeInterface | string | null $dateAccounting = null; |
|
| 25 | 25 | #[Attributes\Options\DateOption] |
| 26 | - public \DateTimeInterface|string|null $dateDelivery = null; |
|
| 26 | + public \DateTimeInterface | string | null $dateDelivery = null; |
|
| 27 | 27 | #[Attributes\Options\DateOption] |
| 28 | - public \DateTimeInterface|string|null $dateKVDPH = null; |
|
| 28 | + public \DateTimeInterface | string | null $dateKVDPH = null; |
|
| 29 | 29 | #[Attributes\Options\DateOption] |
| 30 | - public \DateTimeInterface|string|null $dateKHDPH = null; |
|
| 30 | + public \DateTimeInterface | string | null $dateKHDPH = null; |
|
| 31 | 31 | #[Attributes\RefElement] |
| 32 | 32 | public ?string $accounting = null; |
| 33 | 33 | #[Attributes\RefElement] |
@@ -38,15 +38,15 @@ discard block |
||
| 38 | 38 | public ?string $numberKHDPH = null; |
| 39 | 39 | #[Attributes\Options\StringOption(240)] |
| 40 | 40 | public ?string $text = null; |
| 41 | - public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null; |
|
| 42 | - public Type\Dtos\MyAddressDto|Type\MyAddress|null $myIdentity = null; |
|
| 41 | + public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null; |
|
| 42 | + public Type\Dtos\MyAddressDto | Type\MyAddress | null $myIdentity = null; |
|
| 43 | 43 | #[Attributes\Options\BooleanOption] |
| 44 | - public bool|string|null $liquidation = null; |
|
| 44 | + public bool | string | null $liquidation = null; |
|
| 45 | 45 | #[Attributes\RefElement] |
| 46 | 46 | public ?string $centre = null; |
| 47 | 47 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 48 | 48 | #[Attributes\RefElement] |
| 49 | - public array|string|null $activity = null; |
|
| 49 | + public array | string | null $activity = null; |
|
| 50 | 50 | #[Attributes\RefElement] |
| 51 | 51 | public ?string $contract = null; |
| 52 | 52 | #[Attributes\RefElement] |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | public ?string $note = null; |
| 60 | 60 | public ?string $intNote = null; |
| 61 | 61 | #[Attributes\Options\BooleanOption] |
| 62 | - public bool|string|null $markRecord = null; |
|
| 62 | + public bool | string | null $markRecord = null; |
|
| 63 | 63 | /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */ |
| 64 | 64 | public array $parameters = []; |
| 65 | 65 | } |
@@ -7,9 +7,9 @@ |
||
| 7 | 7 | |
| 8 | 8 | class IntDocDto extends Document\AbstractDocumentDto |
| 9 | 9 | { |
| 10 | - public Type\TaxDocument|Type\Dtos\TaxDocumentDto|null $taxDocument = null; |
|
| 11 | - public Header|HeaderDto|null $header = null; |
|
| 10 | + public Type\TaxDocument | Type\Dtos\TaxDocumentDto | null $taxDocument = null; |
|
| 11 | + public Header | HeaderDto | null $header = null; |
|
| 12 | 12 | /** @var array<Item|ItemDto> */ |
| 13 | 13 | public array $details = []; |
| 14 | - public Summary|SummaryDto|null $summary = null; |
|
| 14 | + public Summary | SummaryDto | null $summary = null; |
|
| 15 | 15 | } |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | |
| 7 | 7 | class ReceiptDto extends Document\AbstractDocumentDto |
| 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 $details = []; |
| 12 | - public Summary|SummaryDto|null $summary = null; |
|
| 12 | + public Summary | SummaryDto | null $summary = null; |
|
| 13 | 13 | } |
@@ -11,19 +11,19 @@ |
||
| 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\DateOption(null, true)] |
| 16 | - public \DateTimeInterface|string|null $dateOfReceipt = null; |
|
| 16 | + public \DateTimeInterface | string | null $dateOfReceipt = null; |
|
| 17 | 17 | #[Attributes\Options\StringOption(240)] |
| 18 | 18 | public ?string $text = null; |
| 19 | - public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null; |
|
| 19 | + public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null; |
|
| 20 | 20 | #[Attributes\Options\StringOption(20)] |
| 21 | 21 | public ?string $symPar = null; |
| 22 | 22 | #[Attributes\RefElement] |
| 23 | 23 | public ?string $centre = null; |
| 24 | 24 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 25 | 25 | #[Attributes\RefElement] |
| 26 | - public array|string|null $activity = null; |
|
| 26 | + public array | string | null $activity = null; |
|
| 27 | 27 | #[Attributes\RefElement] |
| 28 | 28 | public ?string $contract = null; |
| 29 | 29 | public ?string $note = null; |
@@ -9,5 +9,5 @@ |
||
| 9 | 9 | { |
| 10 | 10 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 11 | 11 | #[Attributes\RefElement] |
| 12 | - public array|string|null $stockItem = null; |
|
| 12 | + public array | string | null $stockItem = null; |
|
| 13 | 13 | } |