@@ -17,7 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | public function body() |
| 19 | 19 | { |
| 20 | - return (string) $this->response->getBody(); |
|
| 20 | + return (string)$this->response->getBody(); |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | public function json() |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | 'http://www.JOI.com/schemas/ViaSub.WMS/FindOrders' |
| 17 | 17 | ); |
| 18 | 18 | |
| 19 | - $request->setTemplate(__DIR__ . '/../Request/findOrders.xml'); |
|
| 19 | + $request->setTemplate(__DIR__.'/../Request/findOrders.xml'); |
|
| 20 | 20 | |
| 21 | 21 | $response = $request->fetch([ |
| 22 | 22 | 'BeginDate' => $beginDate->format('Y-m-d'), |
@@ -50,11 +50,11 @@ |
||
| 50 | 50 | $content = file_get_contents($this->template); |
| 51 | 51 | |
| 52 | 52 | $data = array_merge($data, [ |
| 53 | - 'ThreePLID' => $this->getId(), |
|
| 54 | - 'Login' => $this->getLogin(), |
|
| 55 | - 'Password' => $this->getPassword(), |
|
| 56 | - 'CustomerID' => $this->getCustomerId(), |
|
| 57 | - 'FacilityID' => $this->getFacilityId() |
|
| 53 | + 'ThreePLID' => $this->getId(), |
|
| 54 | + 'Login' => $this->getLogin(), |
|
| 55 | + 'Password' => $this->getPassword(), |
|
| 56 | + 'CustomerID' => $this->getCustomerId(), |
|
| 57 | + 'FacilityID' => $this->getFacilityId() |
|
| 58 | 58 | ]); |
| 59 | 59 | |
| 60 | 60 | foreach ($data as $prop => $value) { |