Skip to content

Commit e977562

Browse files
authored
Merge pull request #1 from clwells/swarm-remote-addr-fix
string => array
2 parents 6591301 + 6f640fe commit e977562

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Model/SwarmJoinPostBody.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class SwarmJoinPostBody
4040
/**
4141
* Addresses of manager nodes already participating in the swarm.
4242
*
43-
* @var string
43+
* @var array
4444
*/
4545
protected $remoteAddrs;
4646
/**
@@ -139,21 +139,21 @@ public function setDataPathAddr(?string $dataPathAddr): self
139139
/**
140140
* Addresses of manager nodes already participating in the swarm.
141141
*
142-
* @return string
142+
* @return array
143143
*/
144-
public function getRemoteAddrs(): ?string
144+
public function getRemoteAddrs(): ?array
145145
{
146146
return $this->remoteAddrs;
147147
}
148148

149149
/**
150150
* Addresses of manager nodes already participating in the swarm.
151151
*
152-
* @param string $remoteAddrs
152+
* @param array $remoteAddrs
153153
*
154154
* @return self
155155
*/
156-
public function setRemoteAddrs(?string $remoteAddrs): self
156+
public function setRemoteAddrs(?array $remoteAddrs): self
157157
{
158158
$this->remoteAddrs = $remoteAddrs;
159159

0 commit comments

Comments
 (0)