Skip to content

Commit

Permalink
Allow externalId to be a string #23
Browse files Browse the repository at this point in the history
  • Loading branch information
tyson239 authored Aug 17, 2020
1 parent b87593e commit f05579b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Actions/ManagesServers.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ public function server(int $serverId, array $includes = ['allocations'])
/**
* Get a server instance by external id.
*
* @param int $externalId
* @param array $includes
* @param string $externalId
* @param array $includes
*
* @return Server
*/
public function serverEx(int $externalId, array $includes = ['allocations'])
public function serverEx(string $externalId, array $includes = ['allocations'])
{
return $this->get("api/application/servers/external/$externalId".$this->include($includes));
}
Expand Down

0 comments on commit f05579b

Please sign in to comment.