aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Category
diff options
context:
space:
mode:
authorTim Starling <tstarling@wikimedia.org>2023-03-24 13:48:54 +1100
committerKrinkle <krinkle@fastmail.com>2023-03-25 00:30:15 +0000
commit317b460500725f81797d27c33bd68756055fb44c (patch)
treebaf473c604b8d78647bc590d2555e0ac47eb97d2 /includes/Category
parent580ec48e5b322e505297f3eed0ebccbd269c2166 (diff)
downloadmediawikicore-317b460500725f81797d27c33bd68756055fb44c.tar.gz
mediawikicore-317b460500725f81797d27c33bd68756055fb44c.zip
Fix even more PHPStorm inspections (#3)
* Inappropriate @inheritDoc usage. Arguably all @inheritDoc is inappropriate but these are the ones PHPStorm flags as misleading due to the method not being inherited. * Doc comment type does not match actual argument/return type. * I replaced "@return void|never" with "@return void" since never means never, it doesn't make sense for it to be conditional. If a method can return (even if that is unlikely) then @return contains the type that it returns. "@return never" means that there is no such type because the method never returns. * Incomplete/partial/broken doc tags Change-Id: Ide86bd6d2b44387f37d234c2b059d6fbc42ec962
Diffstat (limited to 'includes/Category')
-rw-r--r--includes/Category/CategoriesRdf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Category/CategoriesRdf.php b/includes/Category/CategoriesRdf.php
index 2821ca62e777..e099a14c6df4 100644
--- a/includes/Category/CategoriesRdf.php
+++ b/includes/Category/CategoriesRdf.php
@@ -129,7 +129,7 @@ class CategoriesRdf {
/**
* Get URI of the dump for this particular wiki.
- * @return false|string
+ * @return string
*/
public function getDumpURI() {
return $this->titleToUrl( Title::makeTitle( NS_MAIN, self::SPECIAL_DUMP ) );