@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | { |
| 113 | 113 | "code": "1234" |
| 114 | 114 | } |
| 115 | -EOT; |
|
| 115 | +eot; |
|
| 116 | 116 | |
| 117 | 117 | $this->client->request('POST', $this->getPromotionCouponsUrl($promotion), [], [], static::$authorizedHeaderWithContentType, $data); |
| 118 | 118 | |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | "usageLimit": 10, |
| 138 | 138 | "perCustomerUsageLimit": 1 |
| 139 | 139 | } |
| 140 | -EOT; |
|
| 140 | +eot; |
|
| 141 | 141 | |
| 142 | 142 | $this->client->request('POST', $this->getPromotionCouponsUrl($promotion), [], [], static::$authorizedHeaderWithContentType, $data); |
| 143 | 143 | |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | "usageLimit": 30, |
| 239 | 239 | "perCustomerUsageLimit": 2 |
| 240 | 240 | } |
| 241 | -EOT; |
|
| 241 | +eot; |
|
| 242 | 242 | |
| 243 | 243 | $this->client->request('PUT', $this->getPromotionCouponUrl($promotion, $promotionCoupon), [], [], static::$authorizedHeaderWithContentType, $data); |
| 244 | 244 | |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | { |
| 297 | 297 | "usageLimit": 30 |
| 298 | 298 | } |
| 299 | -EOT; |
|
| 299 | +eot; |
|
| 300 | 300 | |
| 301 | 301 | $this->client->request('PATCH', $this->getPromotionCouponUrl($promotion, $promotionCoupon), [], [], static::$authorizedHeaderWithContentType, $data); |
| 302 | 302 | |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $builder->add((string) $option->getCode(), ProductOptionValueChoiceType::class, [ |
| 49 | 49 | 'label' => $option->getName() ?: $option->getCode(), |
| 50 | 50 | 'option' => $option, |
| 51 | - 'property_path' => '['.$i.']', |
|
| 51 | + 'property_path' => '[' . $i . ']', |
|
| 52 | 52 | 'block_name' => 'entry', |
| 53 | 53 | ]); |
| 54 | 54 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $builder->add($option->getCode(), ProductOptionValueChoiceType::class, [ |
| 35 | 35 | 'label' => $option->getName(), |
| 36 | 36 | 'option' => $option, |
| 37 | - 'property_path' => '['.$i.']', |
|
| 37 | + 'property_path' => '[' . $i . ']', |
|
| 38 | 38 | 'block_name' => 'entry', |
| 39 | 39 | ]); |
| 40 | 40 | } |