dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45170d
)
recompressTracked.php: Fix typehint of RecompressTracked::dispatch()
author
Umherirrender
<umherirrender_de.wp@web.de>
Wed, 4 Sep 2019 20:12:38 +0000
(22:12 +0200)
committer
Krinkle
<krinklemail@gmail.com>
Sun, 8 Sep 2019 04:06:27 +0000
(
04:06
+0000)
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
patch
|
blob
|
history
diff --git
a/maintenance/storage/recompressTracked.php
b/maintenance/storage/recompressTracked.php
index
316d2d2
..
0d506ef
100644
(file)
--- 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;