Skip to content

Commit

Permalink
fixing short array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-hubert committed Jun 19, 2015
1 parent 271b653 commit de25b05
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Online/Command/Server/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,13 @@ public function editBackupServer($serverId, $password = 'default', $autoLogin =
public function getFailoverIp($protected)
{

$query = self::buildQuery('/server/failover', 'GET', ['protected'=>$protected]);
$query = self::buildQuery(
'/server/failover',
'GET',
array(
'protected' => $protected
)
);

return self::execQuery($query);
}
Expand Down

0 comments on commit de25b05

Please sign in to comment.