@@ -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 | } |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | $client = parent::factory($config); |
| 42 | 42 | |
| 43 | - $description = ServiceDescription::factory(__DIR__ . '/service/main.json'); |
|
| 43 | + $description = ServiceDescription::factory(__DIR__ . '/service/main.json'); |
|
| 44 | 44 | $client->setCommandFactory( |
| 45 | 45 | new ScaleEngineCommandFactory($config['apiSecret'], $description) |
| 46 | 46 | ); |