Skip to content

Commit

Permalink
Fix a typo in CatalogRegistration checks->Checks (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsotomsk authored Jul 14, 2023
1 parent 77846a4 commit 87b1e39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Catalog/CatalogRegistration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -243,7 +243,7 @@ public function setCheck(?AgentCheck $Check): self
*/
public function getChecks(): HealthChecks
{
return $this->checks;
return $this->Checks;
}

/**
Expand All @@ -252,7 +252,7 @@ public function getChecks(): HealthChecks
*/
public function setChecks(HealthChecks $checks): self
{
$this->checks = $checks;
$this->Checks = $checks;
return $this;
}

Expand Down

0 comments on commit 87b1e39

Please sign in to comment.