File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class SwarmJoinPostBody
40
40
/**
41
41
* Addresses of manager nodes already participating in the swarm.
42
42
*
43
- * @var string
43
+ * @var array
44
44
*/
45
45
protected $ remoteAddrs ;
46
46
/**
@@ -139,21 +139,21 @@ public function setDataPathAddr(?string $dataPathAddr): self
139
139
/**
140
140
* Addresses of manager nodes already participating in the swarm.
141
141
*
142
- * @return string
142
+ * @return array
143
143
*/
144
- public function getRemoteAddrs (): ?string
144
+ public function getRemoteAddrs (): ?array
145
145
{
146
146
return $ this ->remoteAddrs ;
147
147
}
148
148
149
149
/**
150
150
* Addresses of manager nodes already participating in the swarm.
151
151
*
152
- * @param string $remoteAddrs
152
+ * @param array $remoteAddrs
153
153
*
154
154
* @return self
155
155
*/
156
- public function setRemoteAddrs (?string $ remoteAddrs ): self
156
+ public function setRemoteAddrs (?array $ remoteAddrs ): self
157
157
{
158
158
$ this ->remoteAddrs = $ remoteAddrs ;
159
159
You can’t perform that action at this time.
0 commit comments