Skip to content

Commit 87b1e39

Browse files
authored
Fix a typo in CatalogRegistration checks->Checks (#37)
1 parent 77846a4 commit 87b1e39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Catalog/CatalogRegistration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class CatalogRegistration extends AbstractModel
7272
/** @var \DCarbone\PHPConsulAPI\Agent\AgentCheck|null */
7373
public ?AgentCheck $Check = null;
7474
/** @var \DCarbone\PHPConsulAPI\Health\HealthChecks */
75-
public HealthChecks $checks;
75+
public HealthChecks $Checks;
7676
/** @var bool */
7777
public bool $SkipNodeUpdate = false;
7878

@@ -243,7 +243,7 @@ public function setCheck(?AgentCheck $Check): self
243243
*/
244244
public function getChecks(): HealthChecks
245245
{
246-
return $this->checks;
246+
return $this->Checks;
247247
}
248248

249249
/**
@@ -252,7 +252,7 @@ public function getChecks(): HealthChecks
252252
*/
253253
public function setChecks(HealthChecks $checks): self
254254
{
255-
$this->checks = $checks;
255+
$this->Checks = $checks;
256256
return $this;
257257
}
258258

0 commit comments

Comments
 (0)