@@ -7,10 +7,10 @@ |
||
| 7 | 7 | |
| 8 | 8 | class IssueSlipDto 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 | 13 | /** @var array<Type\Link|Type\Dtos\LinkDto> */ |
| 14 | 14 | public array $links = []; |
| 15 | - public Summary|SummaryDto|null $summary = null; |
|
| 15 | + public Summary | SummaryDto | null $summary = null; |
|
| 16 | 16 | } |
@@ -12,6 +12,6 @@ |
||
| 12 | 12 | public ?string $roundingDocument = null; |
| 13 | 13 | #[Attributes\Options\ListOption(['none'])] |
| 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 | } |
@@ -11,19 +11,19 @@ discard block |
||
| 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\StringOption(10)] |
| 16 | 16 | public ?string $unit = null; |
| 17 | 17 | #[Attributes\Options\FloatOption] |
| 18 | - public float|string|null $coefficient = null; |
|
| 18 | + public float | string | null $coefficient = null; |
|
| 19 | 19 | #[Attributes\Options\BooleanOption] |
| 20 | - public bool|string|null $payVAT = null; |
|
| 20 | + public bool | string | null $payVAT = null; |
|
| 21 | 21 | #[Attributes\Options\ListOption(['none', 'third', 'low', 'high'])] |
| 22 | 22 | public ?string $rateVAT = null; |
| 23 | 23 | #[Attributes\Options\FloatOption] |
| 24 | - public float|string|null $discountPercentage = null; |
|
| 25 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null; |
|
| 26 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null; |
|
| 24 | + public float | string | null $discountPercentage = null; |
|
| 25 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null; |
|
| 26 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null; |
|
| 27 | 27 | #[Attributes\RefElement] |
| 28 | 28 | public ?string $typeServiceMOSS = null; |
| 29 | 29 | #[Attributes\Options\StringOption(90)] |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | public ?string $symPar = null; |
| 33 | 33 | /** @var array<int|string, string|int|float>|string|null */ |
| 34 | 34 | #[Attributes\RefElement] |
| 35 | - public array|string|null $accounting = null; |
|
| 35 | + public array | string | null $accounting = null; |
|
| 36 | 36 | #[Attributes\RefElement] |
| 37 | 37 | public ?string $classificationVAT = null; |
| 38 | 38 | #[Attributes\RefElement] |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | |
| 7 | 7 | class BankDto 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 | } |
@@ -12,13 +12,13 @@ discard block |
||
| 12 | 12 | public ?string $bankType = null; |
| 13 | 13 | #[Attributes\RefElement] |
| 14 | 14 | public ?string $account = null; |
| 15 | - public StatementNumberDto|StatementNumber|null $statementNumber = null; |
|
| 15 | + public StatementNumberDto | StatementNumber | null $statementNumber = null; |
|
| 16 | 16 | #[Attributes\Options\StringOption(20)] |
| 17 | 17 | public ?string $symVar = null; |
| 18 | 18 | #[Attributes\Options\DateOption] |
| 19 | - public \DateTimeInterface|string|null $dateStatement = null; |
|
| 19 | + public \DateTimeInterface | string | null $dateStatement = null; |
|
| 20 | 20 | #[Attributes\Options\DateOption] |
| 21 | - public \DateTimeInterface|string|null $datePayment = null; |
|
| 21 | + public \DateTimeInterface | string | null $datePayment = null; |
|
| 22 | 22 | #[Attributes\RefElement] |
| 23 | 23 | public ?string $accounting = null; |
| 24 | 24 | #[Attributes\RefElement] |
@@ -27,11 +27,11 @@ discard block |
||
| 27 | 27 | public ?string $classificationKVDPH = null; |
| 28 | 28 | #[Attributes\Options\StringOption(96)] |
| 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 | /** @var array<string, string|int|float>|string|null */ |
| 33 | 33 | #[Attributes\RefElement] |
| 34 | - public array|string|null $paymentAccount = null; |
|
| 34 | + public array | string | null $paymentAccount = null; |
|
| 35 | 35 | #[Attributes\Options\StringOption(4)] |
| 36 | 36 | public ?string $symConst = null; |
| 37 | 37 | #[Attributes\Options\StringOption(16)] |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | public ?string $centre = null; |
| 43 | 43 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 44 | 44 | #[Attributes\RefElement] |
| 45 | - public array|string|null $activity = null; |
|
| 45 | + public array | string | null $activity = null; |
|
| 46 | 46 | #[Attributes\RefElement] |
| 47 | 47 | public ?string $contract = null; |
| 48 | 48 | #[Attributes\RefElement] |
@@ -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> */ |