File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -279,15 +279,15 @@ public function changeServerPassword(): array
279
279
];
280
280
}
281
281
282
-
282
+
283
283
public function resetServerState (): array
284
284
{
285
285
return [
286
286
'method ' => 'POST ' ,
287
287
'path ' => 'servers/{id}/action ' ,
288
288
'params ' => [
289
289
'id ' => $ this ->params ->urlId ('server ' ),
290
- 'resetState ' => $ this ->params ->osResetState ()
290
+ 'resetState ' => $ this ->params ->resetState ()
291
291
]
292
292
];
293
293
}
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public function changePassword(string $newPassword)
188
188
*/
189
189
public function resetState ()
190
190
{
191
- $ response = $ this ->execute ($ this ->api ->resetServerState (), [
191
+ $ this ->execute ($ this ->api ->resetServerState (), [
192
192
'id ' => $ this ->id ,
193
193
'resetState ' => ['state ' => 'active ' ]
194
194
]);
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function urlId(string $type): array
15
15
]);
16
16
}
17
17
18
- public function osResetState (): array
18
+ public function resetState (): array
19
19
{
20
20
return [
21
21
'type ' => self ::OBJECT_TYPE ,
You can’t perform that action at this time.
0 commit comments