@@ -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 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * @param OperationCommand $command The RequestTicket API call made. |
20 | 20 | * @param ScaleEngineTicketFactory $modelFactory The factory to use to |
21 | 21 | * create tickets. Will be created if not given. |
22 | - * @return ScaleEngineTicket The ticket returned from the API request. |
|
22 | + * @return \Guzzle\Service\Resource\Model The ticket returned from the API request. |
|
23 | 23 | */ |
24 | 24 | public static function fromCommand(OperationCommand $command, ScaleEngineTicketFactory $modelFactory = null) |
25 | 25 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * @param OperationCommand $command The RequestTicket API call made. |
20 | 20 | * @param ScaleEngineTicketFactory $modelFactory The factory to use to |
21 | 21 | * create tickets. Will be created if not given. |
22 | - * @return ScaleEngineTicket The ticket returned from the API request. |
|
22 | + * @return \Guzzle\Service\Resource\Model The ticket returned from the API request. |
|
23 | 23 | */ |
24 | 24 | public static function fromCommand(OperationCommand $command, ScaleEngineTicketFactory $modelFactory = null) |
25 | 25 | { |