From da59fd4389bedd6b643f277b5e411872137569b3 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 9 Sep 2024 16:59:59 +0200 Subject: fix: misc code fixes around db sharding Signed-off-by: Robin Appelman --- lib/public/DB/QueryBuilder/IQueryBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/public/DB') diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php index c21793a2421..0367adcb1c3 100644 --- a/lib/public/DB/QueryBuilder/IQueryBuilder.php +++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php @@ -1036,7 +1036,7 @@ interface IQueryBuilder { * @return $this * @since 30.0.0 */ - public function hintShardKey(string $column, mixed $value, bool $overwrite = false); + public function hintShardKey(string $column, mixed $value, bool $overwrite = false): self; /** * Set the query to run across all shards if sharding is enabled. @@ -1044,7 +1044,7 @@ interface IQueryBuilder { * @return $this * @since 30.0.0 */ - public function runAcrossAllShards(); + public function runAcrossAllShards(): self; /** * Get a list of column names that are expected in the query output -- cgit v1.2.3