aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/storage
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2019-09-04 22:12:38 +0200
committerKrinkle <krinklemail@gmail.com>2019-09-08 04:06:27 +0000
commit697900e477430a4c98ea771d57bce1d0198e1488 (patch)
tree3d4a571fc1775315354429f1773b331e1a0cab96 /maintenance/storage
parente45170d8f024985711a868abab523f01bebc9f08 (diff)
downloadmediawikicore-697900e477430a4c98ea771d57bce1d0198e1488.tar.gz
mediawikicore-697900e477430a4c98ea771d57bce1d0198e1488.zip
recompressTracked.php: Fix typehint of RecompressTracked::dispatch()
Follows-up 4a55e578ff8d73e. This must be the same type as RecompressTracked::dispatchToReplica(). Caught by PhanTypeMismatchArgument, to be enabled in I34d65fe3ff1916f. Change-Id: Ifff0d92752e6664d7745efeb4840c8b5ddb974a4
Diffstat (limited to 'maintenance/storage')
-rw-r--r--maintenance/storage/recompressTracked.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/storage/recompressTracked.php b/maintenance/storage/recompressTracked.php
index 316d2d2319bd..0d506ef76739 100644
--- a/maintenance/storage/recompressTracked.php
+++ b/maintenance/storage/recompressTracked.php
@@ -275,7 +275,7 @@ class RecompressTracked {
/**
* Dispatch a command to the next available replica DB.
* This may block until a replica DB finishes its work and becomes available.
- * @param array ...$args
+ * @param array|string ...$args
*/
function dispatch( ...$args ) {
$pipes = $this->replicaPipes;