From 87b1e39840f0dd296f8ece0e23c6fbdd4e4ba874 Mon Sep 17 00:00:00 2001 From: Sergey Date: Fri, 14 Jul 2023 15:16:13 +0300 Subject: [PATCH] Fix a typo in CatalogRegistration checks->Checks (#37) --- src/Catalog/CatalogRegistration.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Catalog/CatalogRegistration.php b/src/Catalog/CatalogRegistration.php index edac2fd..05197dc 100644 --- a/src/Catalog/CatalogRegistration.php +++ b/src/Catalog/CatalogRegistration.php @@ -72,7 +72,7 @@ class CatalogRegistration extends AbstractModel /** @var \DCarbone\PHPConsulAPI\Agent\AgentCheck|null */ public ?AgentCheck $Check = null; /** @var \DCarbone\PHPConsulAPI\Health\HealthChecks */ - public HealthChecks $checks; + public HealthChecks $Checks; /** @var bool */ public bool $SkipNodeUpdate = false; @@ -243,7 +243,7 @@ public function setCheck(?AgentCheck $Check): self */ public function getChecks(): HealthChecks { - return $this->checks; + return $this->Checks; } /** @@ -252,7 +252,7 @@ public function getChecks(): HealthChecks */ public function setChecks(HealthChecks $checks): self { - $this->checks = $checks; + $this->Checks = $checks; return $this; }