@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | public function jsonSerialize() |
| 25 | 25 | { |
| 26 | - return array_map(function (JsonSerializable $item) { |
|
| 26 | + return array_map(function(JsonSerializable $item) { |
|
| 27 | 27 | return $item->jsonSerialize(); |
| 28 | 28 | }, $this->items); |
| 29 | 29 | } |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | return $headers; |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | - private function encodeParams($params = null): ?string |
|
| 79 | + private function encodeParams($params = null): ? string |
|
| 80 | 80 | { |
| 81 | 81 | $body = null; |
| 82 | 82 | if ($params) { |
@@ -44,77 +44,77 @@ |
||
| 44 | 44 | $this->prices = new Prices(); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - public function getId(): ?int |
|
| 47 | + public function getId(): ? int |
|
| 48 | 48 | { |
| 49 | 49 | return $this->id; |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | - public function getImages(): ?array |
|
| 52 | + public function getImages(): ? array |
|
| 53 | 53 | { |
| 54 | 54 | return $this->images; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - public function getOptions(): ?Options |
|
| 57 | + public function getOptions(): ? Options |
|
| 58 | 58 | { |
| 59 | 59 | return $this->options; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - public function getCodes(): ?Codes |
|
| 62 | + public function getCodes(): ? Codes |
|
| 63 | 63 | { |
| 64 | 64 | return $this->codes; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - public function getPrices(): ?Prices |
|
| 67 | + public function getPrices(): ? Prices |
|
| 68 | 68 | { |
| 69 | 69 | return $this->prices; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | - public function getDescription(): ?string |
|
| 72 | + public function getDescription(): ? string |
|
| 73 | 73 | { |
| 74 | 74 | return $this->description; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | - public function getNotes(): ?string |
|
| 77 | + public function getNotes(): ? string |
|
| 78 | 78 | { |
| 79 | 79 | return $this->notes; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - public function getWeightUnit(): ?string |
|
| 82 | + public function getWeightUnit(): ? string |
|
| 83 | 83 | { |
| 84 | 84 | return $this->weight_unit; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - public function getLengthUnit(): ?string |
|
| 87 | + public function getLengthUnit(): ? string |
|
| 88 | 88 | { |
| 89 | 89 | return $this->length_unit; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - public function getWeight(): ?float |
|
| 92 | + public function getWeight(): ? float |
|
| 93 | 93 | { |
| 94 | 94 | return $this->weight; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - public function getWidth(): ?float |
|
| 97 | + public function getWidth(): ? float |
|
| 98 | 98 | { |
| 99 | 99 | return $this->width; |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - public function getHeight(): ?float |
|
| 102 | + public function getHeight(): ? float |
|
| 103 | 103 | { |
| 104 | 104 | return $this->height; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | - public function getDepth(): ?float |
|
| 107 | + public function getDepth(): ? float |
|
| 108 | 108 | { |
| 109 | 109 | return $this->depth; |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | - public function getCreationDatetime(): ?DateTime |
|
| 112 | + public function getCreationDatetime(): ? DateTime |
|
| 113 | 113 | { |
| 114 | 114 | return $this->creation_datetime; |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | - public function getModificationDatetime(): ?DateTime |
|
| 117 | + public function getModificationDatetime(): ? DateTime |
|
| 118 | 118 | { |
| 119 | 119 | return $this->modification_datetime; |
| 120 | 120 | } |
@@ -14,32 +14,32 @@ |
||
| 14 | 14 | private $creation_datetime; |
| 15 | 15 | private $modification_datetime; |
| 16 | 16 | |
| 17 | - public function getId(): ?int |
|
| 17 | + public function getId(): ? int |
|
| 18 | 18 | { |
| 19 | 19 | return $this->id; |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - public function getPriceListId(): ?int |
|
| 22 | + public function getPriceListId(): ? int |
|
| 23 | 23 | { |
| 24 | 24 | return $this->price_list_id; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - public function getCurrency(): ?string |
|
| 27 | + public function getCurrency(): ? string |
|
| 28 | 28 | { |
| 29 | 29 | return $this->currency; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - public function getPrice(): ?int |
|
| 32 | + public function getPrice(): ? int |
|
| 33 | 33 | { |
| 34 | 34 | return $this->price; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - public function getCreationDatetime(): ?DateTime |
|
| 37 | + public function getCreationDatetime(): ? DateTime |
|
| 38 | 38 | { |
| 39 | 39 | return $this->creation_datetime; |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - public function getModificationDatetime(): ?DateTime |
|
| 42 | + public function getModificationDatetime(): ? DateTime |
|
| 43 | 43 | { |
| 44 | 44 | return $this->modification_datetime; |
| 45 | 45 | } |
@@ -13,27 +13,27 @@ |
||
| 13 | 13 | private $creation_datetime; |
| 14 | 14 | private $modification_datetime; |
| 15 | 15 | |
| 16 | - public function getId(): ?int |
|
| 16 | + public function getId(): ? int |
|
| 17 | 17 | { |
| 18 | 18 | return $this->id; |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function getLabel(): ?string |
|
| 21 | + public function getLabel(): ? string |
|
| 22 | 22 | { |
| 23 | 23 | return $this->label; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - public function getValue(): ?string |
|
| 26 | + public function getValue(): ? string |
|
| 27 | 27 | { |
| 28 | 28 | return $this->value; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - public function getCreationDatetime(): ?DateTime |
|
| 31 | + public function getCreationDatetime(): ? DateTime |
|
| 32 | 32 | { |
| 33 | 33 | return $this->creation_datetime; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public function getModificationDatetime(): ?DateTime |
|
| 36 | + public function getModificationDatetime(): ? DateTime |
|
| 37 | 37 | { |
| 38 | 38 | return $this->modification_datetime; |
| 39 | 39 | } |
@@ -13,27 +13,27 @@ |
||
| 13 | 13 | private $creation_datetime; |
| 14 | 14 | private $modification_datetime; |
| 15 | 15 | |
| 16 | - public function getId(): ?int |
|
| 16 | + public function getId(): ? int |
|
| 17 | 17 | { |
| 18 | 18 | return $this->id; |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function getLabel(): ?string |
|
| 21 | + public function getLabel(): ? string |
|
| 22 | 22 | { |
| 23 | 23 | return $this->label; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - public function getValue(): ?string |
|
| 26 | + public function getValue(): ? string |
|
| 27 | 27 | { |
| 28 | 28 | return $this->value; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - public function getCreationDatetime(): ?DateTime |
|
| 31 | + public function getCreationDatetime(): ? DateTime |
|
| 32 | 32 | { |
| 33 | 33 | return $this->creation_datetime; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public function getModificationDatetime(): ?DateTime |
|
| 36 | + public function getModificationDatetime(): ? DateTime |
|
| 37 | 37 | { |
| 38 | 38 | return $this->modification_datetime; |
| 39 | 39 | } |
@@ -34,42 +34,42 @@ |
||
| 34 | 34 | $this->reset($data); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - public function getId(): ?int |
|
| 37 | + public function getId(): ? int |
|
| 38 | 38 | { |
| 39 | 39 | return $this->id; |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - public function getImages(): ?array |
|
| 42 | + public function getImages(): ? array |
|
| 43 | 43 | { |
| 44 | 44 | return $this->images; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - public function getVariants(): ?Variants |
|
| 47 | + public function getVariants(): ? Variants |
|
| 48 | 48 | { |
| 49 | 49 | return $this->variants; |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | - public function getName(): ?string |
|
| 52 | + public function getName(): ? string |
|
| 53 | 53 | { |
| 54 | 54 | return $this->name; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - public function getDescription(): ?string |
|
| 57 | + public function getDescription(): ? string |
|
| 58 | 58 | { |
| 59 | 59 | return $this->description; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - public function getNotes(): ?string |
|
| 62 | + public function getNotes(): ? string |
|
| 63 | 63 | { |
| 64 | 64 | return $this->notes; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - public function getCreationDatetime(): ?DateTime |
|
| 67 | + public function getCreationDatetime(): ? DateTime |
|
| 68 | 68 | { |
| 69 | 69 | return $this->creation_datetime; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | - public function getModificationDatetime(): ?DateTime |
|
| 72 | + public function getModificationDatetime(): ? DateTime |
|
| 73 | 73 | { |
| 74 | 74 | return $this->modification_datetime; |
| 75 | 75 | } |