File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments