diff options
author | Thiemo Kreuz <thiemo.kreuz@wikimedia.de> | 2020-03-24 09:59:02 +0100 |
---|---|---|
committer | Thiemo Kreuz <thiemo.kreuz@wikimedia.de> | 2020-03-24 09:59:02 +0100 |
commit | 1006aa41e6fe477693a378682d18309104a27ba4 (patch) | |
tree | 0edbb1d0a6289d4a7d3e1c55cd6978e2d2258267 /includes/export | |
parent | b9f9edad6bb4beff7ff2842171bd4d422da01b87 (diff) | |
download | mediawikicore-1006aa41e6fe477693a378682d18309104a27ba4.tar.gz mediawikicore-1006aa41e6fe477693a378682d18309104a27ba4.zip |
Fix mismatching type hints in PHPDoc tags
This is a collection of random bits from my local stashes. This patch
intentionally only touches comments, no code.
Notably:
* Use more specific string[] instead of array, if possible.
* Some comments mention "or null", but miss to list the type.
Change-Id: I712b28964f125c8e3dcb4e3fb993757a09f96644
Diffstat (limited to 'includes/export')
-rw-r--r-- | includes/export/WikiExporter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/export/WikiExporter.php b/includes/export/WikiExporter.php index cfa21c0287fe..93c463fa0f7c 100644 --- a/includes/export/WikiExporter.php +++ b/includes/export/WikiExporter.php @@ -586,7 +586,7 @@ class WikiExporter { /** * @param IResultWrapper $resultset - * @return int the log_id value of the last item output, or null if none + * @return int|null the log_id value of the last item output, or null if none */ protected function outputLogStream( $resultset ) { foreach ( $resultset as $row ) { |