Skip to content

Commit c796b5d

Browse files
committed
Fixes
1 parent a032517 commit c796b5d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Dashboards/Redis/Compatibility/Cluster/RedisCluster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function size(string $key): int {
195195
/**
196196
* @throws RedisClusterException
197197
*/
198-
public function flushDatabase(): bool {
198+
public function flushDatabase(): mixed {
199199
$nodes = $this->_masters();
200200

201201
foreach ($nodes as $node) {

src/Dashboards/Redis/Compatibility/Predis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function size(string $key): int {
174174
return is_int($size) ? $size : 0;
175175
}
176176

177-
public function flushDatabase(): bool {
177+
public function flushDatabase(): mixed {
178178
return $this->flushdb();
179179
}
180180

src/Dashboards/Redis/Compatibility/RedisCompatibilityInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function size(string $key): int;
6868
/**
6969
* Alias to a flushDB().
7070
*/
71-
public function flushDatabase(): bool;
71+
public function flushDatabase(): mixed;
7272

7373
/**
7474
* Alias to a dbSize().

0 commit comments

Comments
 (0)