@@ -205,7 +205,7 @@ |
||
| 205 | 205 | throw new LogicException('ShipUrl is already set.'); |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | - $this->params['Order']['Ship']['ShipUrl'] = '![CDATA[' . $shipUrl . ']]'; |
|
| 208 | + $this->params['Order']['Ship']['ShipUrl'] = '![CDATA['.$shipUrl.']]'; |
|
| 209 | 209 | |
| 210 | 210 | return $this; |
| 211 | 211 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | if (!preg_match('/^[a-zA-Z0-9\-]{1,99}$/', $subCode)) { |
| 86 | 86 | throw new InvalidRequestException('sub_code error.'); |
| 87 | 87 | } |
| 88 | - $this->params['item_code'] = $this->params['item_code'] . ':' . $subCode; |
|
| 88 | + $this->params['item_code'] = $this->params['item_code'].':'.$subCode; |
|
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | return $this; |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | throw new LogicException('allow_overdraft is already set.'); |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | - $this->params['allow_overdraft'] = (int)$allowOverdraft; |
|
| 124 | + $this->params['allow_overdraft'] = (int) $allowOverdraft; |
|
| 125 | 125 | |
| 126 | 126 | return $this; |
| 127 | 127 | } |