diff options
author | jenkins-bot <jenkins-bot@gerrit.wikimedia.org> | 2022-11-17 14:53:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@wikimedia.org> | 2022-11-17 14:53:24 +0000 |
commit | 530c08f39cc472dd482c693c04333d247769cd93 (patch) | |
tree | a46615f59f6d3c6784356f198047353e618f192b /includes/site | |
parent | 06ec8df58cbefe7925a7a2d3ffb7f11cb59cc415 (diff) | |
parent | ea5ea60b31e78c2a849d38012e80390c216b7b95 (diff) | |
download | mediawikicore-530c08f39cc472dd482c693c04333d247769cd93.tar.gz mediawikicore-530c08f39cc472dd482c693c04333d247769cd93.zip |
Merge "Various doc fixes about false on method arguments/return types"
Diffstat (limited to 'includes/site')
-rw-r--r-- | includes/site/MediaWikiSite.php | 2 | ||||
-rw-r--r-- | includes/site/Site.php | 2 | ||||
-rw-r--r-- | includes/site/SiteImporter.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index 0575eb53cb5b..13023da63abd 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -167,7 +167,7 @@ class MediaWikiSite extends Site { * * @see Site::getPageUrl * @since 1.21 - * @param string|bool $pageName Page name or false (default: false) + * @param string|false $pageName Page name or false (default: false) * @return string|null */ public function getPageUrl( $pageName = false ) { diff --git a/includes/site/Site.php b/includes/site/Site.php index a34a3c4b2554..c9169ecfcda1 100644 --- a/includes/site/Site.php +++ b/includes/site/Site.php @@ -356,7 +356,7 @@ class Site { * This implementation returns a URL constructed using the path returned by getLinkPath(). * * @since 1.21 - * @param bool|string $pageName + * @param string|false $pageName * @return string|null */ public function getPageUrl( $pageName = false ) { diff --git a/includes/site/SiteImporter.php b/includes/site/SiteImporter.php index 96a2673ab6b7..ac77a157c5c9 100644 --- a/includes/site/SiteImporter.php +++ b/includes/site/SiteImporter.php @@ -204,7 +204,7 @@ class SiteImporter { /** * @param DOMElement $element * @param string $name - * @param string|null|bool $default + * @param string|null|false $default * * @return null|string * @throws MWException If the attribute is not found and no default is provided @@ -228,7 +228,7 @@ class SiteImporter { /** * @param DOMElement $element * @param string $name - * @param string|null|bool $default + * @param string|null|false $default * * @return null|string * @throws MWException If the child element is not found and no default is provided |