File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/Dashboards/Redis/Compatibility Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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().
You can’t perform that action at this time.
0 commit comments