From 6f640fe14bfcc527b29c2334b07bf77f4cbf1481 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Fri, 21 Sep 2018 23:01:44 -0400 Subject: [PATCH] string => array --- src/Model/SwarmJoinPostBody.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Model/SwarmJoinPostBody.php b/src/Model/SwarmJoinPostBody.php index fdf759f2..d046bcf8 100644 --- a/src/Model/SwarmJoinPostBody.php +++ b/src/Model/SwarmJoinPostBody.php @@ -40,7 +40,7 @@ class SwarmJoinPostBody /** * Addresses of manager nodes already participating in the swarm. * - * @var string + * @var array */ protected $remoteAddrs; /** @@ -139,9 +139,9 @@ public function setDataPathAddr(?string $dataPathAddr): self /** * Addresses of manager nodes already participating in the swarm. * - * @return string + * @return array */ - public function getRemoteAddrs(): ?string + public function getRemoteAddrs(): ?array { return $this->remoteAddrs; } @@ -149,11 +149,11 @@ public function getRemoteAddrs(): ?string /** * Addresses of manager nodes already participating in the swarm. * - * @param string $remoteAddrs + * @param array $remoteAddrs * * @return self */ - public function setRemoteAddrs(?string $remoteAddrs): self + public function setRemoteAddrs(?array $remoteAddrs): self { $this->remoteAddrs = $remoteAddrs;