diff options
author | Kunal Mehta <legoktm@member.fsf.org> | 2019-12-21 23:25:07 -0800 |
---|---|---|
committer | Daimona Eaytoy <daimona.wiki@gmail.com> | 2020-01-01 14:31:10 +0000 |
commit | 8aa70417612649db17c977fae4b6fc3b07110ea8 (patch) | |
tree | d11b54f59063d16c91b99242e21d4ab219ec7321 /includes/libs/filebackend/FileBackend.php | |
parent | 09bc7484a716f74d6578704c95c19cfd9eea79a4 (diff) | |
download | mediawikicore-8aa70417612649db17c977fae4b6fc3b07110ea8.tar.gz mediawikicore-8aa70417612649db17c977fae4b6fc3b07110ea8.zip |
FileBackend: fix phan docs for doQuickOperations()
The current docs for $ops was wrong, because it was missing the
op/src/dst keys, and more importantly, it's not one array with those
keys, it's a list of those arrays.
Needed to make Score pass the newer version of phan.
Change-Id: If0e2c534466d5579c955a6cffbe5f89cfa275937
Diffstat (limited to 'includes/libs/filebackend/FileBackend.php')
-rw-r--r-- | includes/libs/filebackend/FileBackend.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/libs/filebackend/FileBackend.php b/includes/libs/filebackend/FileBackend.php index 9eec4f6cddab..0f3bdb1e77d1 100644 --- a/includes/libs/filebackend/FileBackend.php +++ b/includes/libs/filebackend/FileBackend.php @@ -691,7 +691,9 @@ abstract class FileBackend implements LoggerAwareInterface { * considered "OK" as long as no fatal errors occurred. * * @param array $ops Set of operations to execute - * @phan-param array{ignoreMissingSource?:bool,headers?:bool} $ops + * @codingStandardsIgnoreStart + * @phan-param list<array{op:?string,src?:string,dst?:string,ignoreMissingSource?:bool,headers?:array}> $ops + * @codingStandardsIgnoreEnd * @param array $opts Batch operation options * @phan-param array{bypassReadOnly?:bool} $opts * @return StatusValue |