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
279279 ];
280280 }
281281
282-
282+
283283 public function resetServerState (): array
284284 {
285285 return [
286286 'method ' => 'POST ' ,
287287 'path ' => 'servers/{id}/action ' ,
288288 'params ' => [
289289 'id ' => $ this ->params ->urlId ('server ' ),
290- 'resetState ' => $ this ->params ->osResetState ()
290+ 'resetState ' => $ this ->params ->resetState ()
291291 ]
292292 ];
293293 }
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public function changePassword(string $newPassword)
188188 */
189189 public function resetState ()
190190 {
191- $ response = $ this ->execute ($ this ->api ->resetServerState (), [
191+ $ this ->execute ($ this ->api ->resetServerState (), [
192192 'id ' => $ this ->id ,
193193 'resetState ' => ['state ' => 'active ' ]
194194 ]);
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function urlId(string $type): array
1515 ]);
1616 }
1717
18- public function osResetState (): array
18+ public function resetState (): array
1919 {
2020 return [
2121 'type ' => self ::OBJECT_TYPE ,
You can’t perform that action at this time.
0 commit comments