Skip to content

Commit 904a34c

Browse files
committed
Ahhh thanks Couch to broke the build...
1 parent 46d78c8 commit 904a34c

File tree

1 file changed

+14
-32
lines changed

1 file changed

+14
-32
lines changed

src/phpFastCache/Drivers/Couchdb/Config.php

Lines changed: 14 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ class Config extends ConfigurationOption
2020
* @var int
2121
*/
2222
protected $port = 5984;
23+
2324
/**
2425
* @var string
2526
*/
2627
protected $path = '/';
28+
2729
/**
2830
* @var string
2931
*/
@@ -51,9 +53,9 @@ public function getHost(): string
5153

5254
/**
5355
* @param string $host
54-
* @return Config
56+
* @return self
5557
*/
56-
public function setHost(string $host): Config
58+
public function setHost(string $host): self
5759
{
5860
$this->host = $host;
5961
return $this;
@@ -69,32 +71,14 @@ public function getPort(): int
6971

7072
/**
7173
* @param int $port
72-
* @return Config
74+
* @return self
7375
*/
74-
public function setPort(int $port): Config
76+
public function setPort(int $port): self
7577
{
7678
$this->port = $port;
7779
return $this;
7880
}
7981

80-
/**
81-
* @return string
82-
*/
83-
public function getPath(): string
84-
{
85-
return $this->path;
86-
}
87-
88-
/**
89-
* @param string $path
90-
* @return Config
91-
*/
92-
public function setPath(string $path): Config
93-
{
94-
$this->path = $path;
95-
return $this;
96-
}
97-
9882
/**
9983
* @return string
10084
*/
@@ -105,9 +89,9 @@ public function getUsername(): string
10589

10690
/**
10791
* @param string $username
108-
* @return Config
92+
* @return self
10993
*/
110-
public function setUsername(string $username): Config
94+
public function setUsername(string $username): self
11195
{
11296
$this->username = $username;
11397
return $this;
@@ -123,9 +107,9 @@ public function getPassword(): string
123107

124108
/**
125109
* @param string $password
126-
* @return Config
110+
* @return self
127111
*/
128-
public function setPassword(string $password): Config
112+
public function setPassword(string $password): self
129113
{
130114
$this->password = $password;
131115
return $this;
@@ -141,9 +125,9 @@ public function isSsl(): bool
141125

142126
/**
143127
* @param bool $ssl
144-
* @return Config
128+
* @return self
145129
*/
146-
public function setSsl(bool $ssl): Config
130+
public function setSsl(bool $ssl): self
147131
{
148132
$this->ssl = $ssl;
149133
return $this;
@@ -159,13 +143,11 @@ public function getTimeout(): int
159143

160144
/**
161145
* @param int $timeout
162-
* @return Config
146+
* @return self
163147
*/
164-
public function setTimeout(int $timeout): Config
148+
public function setTimeout(int $timeout): self
165149
{
166150
$this->timeout = $timeout;
167151
return $this;
168152
}
169-
170-
171153
}

0 commit comments

Comments
 (0)