@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * reply is not successful. |
| 23 | 23 | * |
| 24 | 24 | * @param OperationCommand $command The API call being executed. |
| 25 | - * @param string|array $resultPath The path to the actual result model. If |
|
| 25 | + * @param string $resultPath The path to the actual result model. If |
|
| 26 | 26 | * not provided, this will return the entire JSON response. |
| 27 | 27 | * @return array The top-level result JSON from the API call. |
| 28 | 28 | * @throws Exception if the result was not successful. |
@@ -46,10 +46,10 @@ |
||
| 46 | 46 | } |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - $parsedData['active'] = (bool)$parsedData['active']; |
|
| 49 | + $parsedData['active'] = (bool) $parsedData['active']; |
|
| 50 | 50 | $parsedData['createdDate'] = $this->convertDate($parsedData['createdDate']); |
| 51 | 51 | $parsedData['usedDate'] = $this->convertDate($parsedData['usedDate']); |
| 52 | - $parsedData['uses'] = (int)$parsedData['uses']; |
|
| 52 | + $parsedData['uses'] = (int) $parsedData['uses']; |
|
| 53 | 53 | |
| 54 | 54 | return $parsedData; |
| 55 | 55 | } |