From b87593ebff457e89f45a388f689ee4dbf3d2124c Mon Sep 17 00:00:00 2001 From: TLingC <5617150+TLingC@users.noreply.github.com> Date: Mon, 17 Aug 2020 10:34:35 +0800 Subject: [PATCH 1/2] Rename docker_image to dockerImage #24 --- src/Resources/Egg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Egg.php b/src/Resources/Egg.php index 6af89e6..13cfb83 100644 --- a/src/Resources/Egg.php +++ b/src/Resources/Egg.php @@ -44,7 +44,7 @@ class Egg extends Resource * * @var string */ - public $docker_image; + public $dockerImage; /** * The config of the egg. From f05579b568ebeb3e541b53c6b77498020b413c94 Mon Sep 17 00:00:00 2001 From: TLingC <5617150+TLingC@users.noreply.github.com> Date: Mon, 17 Aug 2020 10:43:00 +0800 Subject: [PATCH 2/2] Allow externalId to be a string #23 --- src/Actions/ManagesServers.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Actions/ManagesServers.php b/src/Actions/ManagesServers.php index a2232d8..bf27caa 100644 --- a/src/Actions/ManagesServers.php +++ b/src/Actions/ManagesServers.php @@ -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)); }