diff options
Diffstat (limited to 'lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php')
-rw-r--r-- | lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php b/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php index e7bc70ce440..e5b66470de0 100644 --- a/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php +++ b/lib/private/DB/QueryBuilder/Sharded/ShardedQueryBuilder.php @@ -296,7 +296,7 @@ class ShardedQueryBuilder extends ExtendedQueryBuilder { ]; } - public function hintShardKey(string $column, mixed $value, bool $overwrite = false) { + public function hintShardKey(string $column, mixed $value, bool $overwrite = false): self { if ($overwrite) { $this->primaryKeys = []; $this->shardKeys = []; @@ -310,7 +310,7 @@ class ShardedQueryBuilder extends ExtendedQueryBuilder { return $this; } - public function runAcrossAllShards() { + public function runAcrossAllShards(): self { $this->allShards = true; return $this; } |