From 697900e477430a4c98ea771d57bce1d0198e1488 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Wed, 4 Sep 2019 22:12:38 +0200 Subject: [PATCH] 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 --- maintenance/storage/recompressTracked.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/storage/recompressTracked.php b/maintenance/storage/recompressTracked.php index 316d2d2319..0d506ef767 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; -- 2.20.1