Skip to content

Commit 6c437e4

Browse files
committed
AgentMember fixes
1 parent 6dfbd9b commit 6c437e4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Agent/AgentMember.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ class AgentMember extends AbstractModel
3737
* AgentMemberLeaving = 2
3838
* AgentMemberLeft = 3
3939
* AgentMemberFailed = 4
40-
* @var string
40+
* @var int
4141
*/
42-
public string $Status;
42+
public int $Status;
4343
public int $ProtocolMin;
4444
public int $ProtocolMax;
4545
public int $ProtocolCur;
@@ -53,7 +53,7 @@ class AgentMember extends AbstractModel
5353
* @param string $Addr
5454
* @param int $Port
5555
* @param \stdClass|null $Tags
56-
* @param string $Status
56+
* @param int $Status
5757
* @param int $ProtocolMin
5858
* @param int $ProtocolMax
5959
* @param int $ProtocolCur
@@ -67,7 +67,7 @@ public function __construct(
6767
string $Addr = '',
6868
int $Port = 0,
6969
null|\stdClass $Tags = null,
70-
string $Status = '',
70+
int $Status = 0,
7171
int $ProtocolMin = 0,
7272
int $ProtocolMax = 0,
7373
int $ProtocolCur = 0,
@@ -106,7 +106,7 @@ public function getPort(): int
106106
return $this->Port;
107107
}
108108

109-
public function getStatus(): string
109+
public function getStatus(): int
110110
{
111111
return $this->Status;
112112
}

0 commit comments

Comments
 (0)