Skip to content

Commit f05579b

Browse files
authored
Allow externalId to be a string #23
1 parent b87593e commit f05579b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Actions/ManagesServers.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ public function server(int $serverId, array $includes = ['allocations'])
3535
/**
3636
* Get a server instance by external id.
3737
*
38-
* @param int $externalId
39-
* @param array $includes
38+
* @param string $externalId
39+
* @param array $includes
4040
*
4141
* @return Server
4242
*/
43-
public function serverEx(int $externalId, array $includes = ['allocations'])
43+
public function serverEx(string $externalId, array $includes = ['allocations'])
4444
{
4545
return $this->get("api/application/servers/external/$externalId".$this->include($includes));
4646
}

0 commit comments

Comments
 (0)