@@ -13,7 +13,7 @@ discard block |
||
| 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 | } |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | $this->id = $id; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - public function getPriceListId(): ?int |
|
| 26 | + public function getPriceListId(): ? int |
|
| 27 | 27 | { |
| 28 | 28 | return $this->price_list_id; |
| 29 | 29 | } |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | $this->price_list_id = $price_list_id; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public function getCurrency(): ?string |
|
| 36 | + public function getCurrency(): ? string |
|
| 37 | 37 | { |
| 38 | 38 | return $this->currency; |
| 39 | 39 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | $this->currency = $currency; |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - public function getPrice(): ?int |
|
| 46 | + public function getPrice(): ? int |
|
| 47 | 47 | { |
| 48 | 48 | return $this->price; |
| 49 | 49 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $this->price = $price; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - public function getCreationDatetime(): ?DateTime |
|
| 56 | + public function getCreationDatetime(): ? DateTime |
|
| 57 | 57 | { |
| 58 | 58 | return $this->creation_datetime; |
| 59 | 59 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | $this->creation_datetime = $creation_datetime; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - public function getModificationDatetime(): ?DateTime |
|
| 66 | + public function getModificationDatetime(): ? DateTime |
|
| 67 | 67 | { |
| 68 | 68 | return $this->modification_datetime; |
| 69 | 69 | } |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | private $creation_datetime; |
| 13 | 13 | private $modification_datetime; |
| 14 | 14 | |
| 15 | - public function getId(): ?int |
|
| 15 | + public function getId(): ? int |
|
| 16 | 16 | { |
| 17 | 17 | return $this->id; |
| 18 | 18 | } |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $this->id = $id; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - public function getLabel(): ?string |
|
| 25 | + public function getLabel(): ? string |
|
| 26 | 26 | { |
| 27 | 27 | return $this->label; |
| 28 | 28 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | $this->label = $label; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - public function getValue(): ?string |
|
| 35 | + public function getValue(): ? string |
|
| 36 | 36 | { |
| 37 | 37 | return $this->value; |
| 38 | 38 | } |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $this->value = $value; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function getCreationDatetime(): ?DateTime |
|
| 45 | + public function getCreationDatetime(): ? DateTime |
|
| 46 | 46 | { |
| 47 | 47 | return $this->creation_datetime; |
| 48 | 48 | } |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | $this->creation_datetime = $creation_datetime; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function getModificationDatetime(): ?DateTime |
|
| 55 | + public function getModificationDatetime(): ? DateTime |
|
| 56 | 56 | { |
| 57 | 57 | return $this->modification_datetime; |
| 58 | 58 | } |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | private $creation_datetime; |
| 13 | 13 | private $modification_datetime; |
| 14 | 14 | |
| 15 | - public function getId(): ?int |
|
| 15 | + public function getId(): ? int |
|
| 16 | 16 | { |
| 17 | 17 | return $this->id; |
| 18 | 18 | } |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $this->id = $id; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - public function getLabel(): ?string |
|
| 25 | + public function getLabel(): ? string |
|
| 26 | 26 | { |
| 27 | 27 | return $this->label; |
| 28 | 28 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | $this->label = $label; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - public function getValue(): ?string |
|
| 35 | + public function getValue(): ? string |
|
| 36 | 36 | { |
| 37 | 37 | return $this->value; |
| 38 | 38 | } |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $this->value = $value; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function getCreationDatetime(): ?DateTime |
|
| 45 | + public function getCreationDatetime(): ? DateTime |
|
| 46 | 46 | { |
| 47 | 47 | return $this->creation_datetime; |
| 48 | 48 | } |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | $this->creation_datetime = $creation_datetime; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - public function getModificationDatetime(): ?DateTime |
|
| 55 | + public function getModificationDatetime(): ? DateTime |
|
| 56 | 56 | { |
| 57 | 57 | return $this->modification_datetime; |
| 58 | 58 | } |
@@ -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 | } |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | $this->variants = new Variants(); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - public function getId(): ?int |
|
| 31 | + public function getId(): ? int |
|
| 32 | 32 | { |
| 33 | 33 | return $this->id; |
| 34 | 34 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | $this->id = $id; |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - public function getImages(): ?array |
|
| 41 | + public function getImages(): ? array |
|
| 42 | 42 | { |
| 43 | 43 | return $this->images; |
| 44 | 44 | } |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | $this->pendingImage = $image; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - public function getVariants(): ?Variants |
|
| 57 | + public function getVariants(): ? Variants |
|
| 58 | 58 | { |
| 59 | 59 | return $this->variants; |
| 60 | 60 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | $this->variants = $variants; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - public function getName(): ?string |
|
| 67 | + public function getName(): ? string |
|
| 68 | 68 | { |
| 69 | 69 | return $this->name; |
| 70 | 70 | } |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | $this->name = $name; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | - public function getDescription(): ?string |
|
| 77 | + public function getDescription(): ? string |
|
| 78 | 78 | { |
| 79 | 79 | return $this->description; |
| 80 | 80 | } |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | $this->description = $description; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - public function getNotes(): ?string |
|
| 87 | + public function getNotes(): ? string |
|
| 88 | 88 | { |
| 89 | 89 | return $this->notes; |
| 90 | 90 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | $this->notes = $notes; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - public function getCreationDatetime(): ?DateTime |
|
| 97 | + public function getCreationDatetime(): ? DateTime |
|
| 98 | 98 | { |
| 99 | 99 | return $this->creation_datetime; |
| 100 | 100 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | $this->creation_datetime = $creation_datetime; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | - public function getModificationDatetime(): ?DateTime |
|
| 107 | + public function getModificationDatetime(): ? DateTime |
|
| 108 | 108 | { |
| 109 | 109 | return $this->modification_datetime; |
| 110 | 110 | } |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | $this->prices = new Prices(); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - public function getId(): ?int |
|
| 42 | + public function getId(): ? int |
|
| 43 | 43 | { |
| 44 | 44 | return $this->id; |
| 45 | 45 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | $this->id = $id; |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | - public function getImages(): ?array |
|
| 52 | + public function getImages(): ? array |
|
| 53 | 53 | { |
| 54 | 54 | return $this->images; |
| 55 | 55 | } |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | $this->pendingImage = $image; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | - public function getOptions(): ?Options |
|
| 68 | + public function getOptions(): ? Options |
|
| 69 | 69 | { |
| 70 | 70 | return $this->options; |
| 71 | 71 | } |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | $this->options = $options; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | - public function getCodes(): ?Codes |
|
| 78 | + public function getCodes(): ? Codes |
|
| 79 | 79 | { |
| 80 | 80 | return $this->codes; |
| 81 | 81 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $this->codes = $codes; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - public function getPrices(): ?Prices |
|
| 88 | + public function getPrices(): ? Prices |
|
| 89 | 89 | { |
| 90 | 90 | return $this->prices; |
| 91 | 91 | } |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | $this->prices = $prices; |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | - public function getDescription(): ?string |
|
| 98 | + public function getDescription(): ? string |
|
| 99 | 99 | { |
| 100 | 100 | return $this->description; |
| 101 | 101 | } |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | $this->description = $description; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | - public function getNotes(): ?string |
|
| 108 | + public function getNotes(): ? string |
|
| 109 | 109 | { |
| 110 | 110 | return $this->notes; |
| 111 | 111 | } |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | $this->notes = $notes; |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | - public function getWeightUnit(): ?string |
|
| 118 | + public function getWeightUnit(): ? string |
|
| 119 | 119 | { |
| 120 | 120 | return $this->weight_unit; |
| 121 | 121 | } |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | $this->weight_unit = $weight_unit; |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | - public function getLengthUnit(): ?string |
|
| 128 | + public function getLengthUnit(): ? string |
|
| 129 | 129 | { |
| 130 | 130 | return $this->length_unit; |
| 131 | 131 | } |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | $this->length_unit = $length_unit; |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | - public function getWeight(): ?float |
|
| 138 | + public function getWeight(): ? float |
|
| 139 | 139 | { |
| 140 | 140 | return $this->weight; |
| 141 | 141 | } |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | $this->weight = $weight; |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | - public function getWidth(): ?float |
|
| 148 | + public function getWidth(): ? float |
|
| 149 | 149 | { |
| 150 | 150 | return $this->width; |
| 151 | 151 | } |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | $this->width = $width; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | - public function getHeight(): ?float |
|
| 158 | + public function getHeight(): ? float |
|
| 159 | 159 | { |
| 160 | 160 | return $this->height; |
| 161 | 161 | } |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | $this->height = $height; |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | - public function getDepth(): ?float |
|
| 168 | + public function getDepth(): ? float |
|
| 169 | 169 | { |
| 170 | 170 | return $this->depth; |
| 171 | 171 | } |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | $this->depth = $depth; |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | - public function getCreationDatetime(): ?DateTime |
|
| 178 | + public function getCreationDatetime(): ? DateTime |
|
| 179 | 179 | { |
| 180 | 180 | return $this->creation_datetime; |
| 181 | 181 | } |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | $this->creation_datetime = $creation_datetime; |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | - public function getModificationDatetime(): ?DateTime |
|
| 188 | + public function getModificationDatetime(): ? DateTime |
|
| 189 | 189 | { |
| 190 | 190 | return $this->modification_datetime; |
| 191 | 191 | } |
@@ -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) { |