@@ -9,7 +9,7 @@ |
||
9 | 9 | abstract class AbstractNormalizer |
10 | 10 | { |
11 | 11 | public function __construct( |
12 | - protected readonly int|null $length, |
|
12 | + protected readonly int | null $length, |
|
13 | 13 | protected readonly bool $nullable, |
14 | 14 | ) |
15 | 15 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | { |
38 | 38 | // process stockPriceItem |
39 | 39 | if (isset($data['stockPriceItem']) && is_array($data['stockPriceItem'])) { |
40 | - $data['stockPriceItem'] = \array_map(function ($stockPriceItem) use ($namespacesPaths, $sanitizeEncoding, $companyRegistrationNumber, $resolveOptions) { |
|
40 | + $data['stockPriceItem'] = \array_map(function($stockPriceItem) use ($namespacesPaths, $sanitizeEncoding, $companyRegistrationNumber, $resolveOptions) { |
|
41 | 41 | return new Price($namespacesPaths, $sanitizeEncoding, $stockPriceItem['stockPrice'], $companyRegistrationNumber, $resolveOptions); |
42 | 42 | }, $data['stockPriceItem']); |
43 | 43 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | // process suppliers |
42 | 42 | if (isset($data['suppliers']) && is_array($data['suppliers'])) { |
43 | - $data['suppliers'] = \array_map(function ($supplier) use ($namespacesPaths, $sanitizeEncoding, $companyRegistrationNumber, $resolveOptions) { |
|
43 | + $data['suppliers'] = \array_map(function($supplier) use ($namespacesPaths, $sanitizeEncoding, $companyRegistrationNumber, $resolveOptions) { |
|
44 | 44 | return new Supplier\SupplierItem($namespacesPaths, $sanitizeEncoding, $supplier['supplierItem'], $companyRegistrationNumber, $resolveOptions); |
45 | 45 | }, $data['suppliers']); |
46 | 46 | } |