diff options
author | thiemowmde <thiemo.kreuz@wikimedia.de> | 2025-01-17 09:36:46 +0100 |
---|---|---|
committer | thiemowmde <thiemo.kreuz@wikimedia.de> | 2025-01-17 15:35:53 +0100 |
commit | cd7ceb37b8d6830471d4db829f7a2cf0fa025cc5 (patch) | |
tree | 9e5a50339b49d9bdf9dd21146cebba1d60222bc2 /includes/cache/BacklinkCache.php | |
parent | 6add3e5036c214eb81bb360890b6212b961c4577 (diff) | |
download | mediawikicore-cd7ceb37b8d6830471d4db829f7a2cf0fa025cc5.tar.gz mediawikicore-cd7ceb37b8d6830471d4db829f7a2cf0fa025cc5.zip |
Remove 2-line PHPDocs that just repeat the types from the code
Same as Ia294bf4 did for 1-line comments. This patch removes slightly
more complex 2-line PHPDoc comments that don't add any new information
to the code, but literally repeat what the code already says.
They say "don't document the code, code the documentation", and we
are doing this more and more. We just tend to forget to remove the
obsolete comments.
Note I'm also removing a line of text in a few cases when it's very
short and literally says the same as the method name. Again, such
comments add zero new information.
Change-Id: I01535404bab458c6c47e48e5456403b7a64198ed
Diffstat (limited to 'includes/cache/BacklinkCache.php')
-rw-r--r-- | includes/cache/BacklinkCache.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php index 16f942a9cb63..9714b01906f3 100644 --- a/includes/cache/BacklinkCache.php +++ b/includes/cache/BacklinkCache.php @@ -474,8 +474,6 @@ class BacklinkCache { * Modify an array of batches, setting the start of the first batch to * false, and the end of the last batch to false, so that the complete * set of batches covers the entire ID range from 0 to infinity. - * - * @param array &$batches */ private function openBatchEnds( array &$batches ) { if ( !count( $batches ) ) { |