@@ -43,16 +43,16 @@ |
||
43 | 43 | $this->credentials = $credentials; |
44 | 44 | } |
45 | 45 | |
46 | - public static function create(array $state){ |
|
46 | + public static function create(array $state) { |
|
47 | 47 | return new ClientState( |
48 | - $state['type'], |
|
49 | - $state['paused'], |
|
50 | - $state['stoppable'], |
|
51 | - $state['scriptId'], |
|
52 | - $state['machineId'], |
|
53 | - $state['script_config'] ??null, |
|
54 | - $state['proxy'] ?? null, |
|
55 | - $state['credentials'] ?? null |
|
48 | + $state[ 'type' ], |
|
49 | + $state[ 'paused' ], |
|
50 | + $state[ 'stoppable' ], |
|
51 | + $state[ 'scriptId' ], |
|
52 | + $state[ 'machineId' ], |
|
53 | + $state[ 'script_config' ] ??null, |
|
54 | + $state[ 'proxy' ] ?? null, |
|
55 | + $state[ 'credentials' ] ?? null |
|
56 | 56 | ); |
57 | 57 | } |
58 | 58 |