aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-09-16 11:39:58 +0200
committerGitHub <noreply@github.com>2024-09-16 11:39:58 +0200
commitff0cab5956c289bad60db54716b148c8879566a4 (patch)
tree380f48666b1400f90beab4a6394eda4b287d7dca /lib/public
parent52f4b88f8d0581e3ec8e59854b78bd006ab0f80f (diff)
parentda59fd4389bedd6b643f277b5e411872137569b3 (diff)
downloadnextcloud-server-ff0cab5956c289bad60db54716b148c8879566a4.tar.gz
nextcloud-server-ff0cab5956c289bad60db54716b148c8879566a4.zip
Merge pull request #47852 from nextcloud/sharding-code-fixes
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index 22724c0c800..a965e0b5390 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -1040,7 +1040,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.
@@ -1048,7 +1048,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