Reedy has uploaded a new change for review. https://gerrit.wikimedia.org/r/134961
Change subject: Add docblock parameter type hints ...................................................................... Add docblock parameter type hints Change-Id: I207e77c638f89711c98ee73f43160aa9fdcb2167 --- M multiversion/MWMultiVersion.php 1 file changed, 5 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/61/134961/1 diff --git a/multiversion/MWMultiVersion.php b/multiversion/MWMultiVersion.php index 5ddd7e5..526b397 100644 --- a/multiversion/MWMultiVersion.php +++ b/multiversion/MWMultiVersion.php @@ -38,7 +38,7 @@ /** * Create a multiversion object based on a dbname - * @param $dbName string + * @param string $dbName * @return MWMultiVersion object for this wiki */ public static function newFromDBName( $dbName ) { @@ -62,7 +62,7 @@ /** * Initialize and get the singleton instance of MWMultiVersion. * Use this for all web hits except to /w/thumb.php on upload.wikmedia.org. - * @param $serverName the ServerName for this wiki -- $_SERVER['SERVER_NAME'] + * @param string $serverName the ServerName for this wiki -- $_SERVER['SERVER_NAME'] * @return MWMultiVersion object for this wiki */ public static function initializeForWiki( $serverName ) { @@ -74,7 +74,7 @@ /** * Initialize and get the singleton instance of MWMultiVersion. * Use this for web hits to /w/thumb.php on upload.wikmedia.org. - * @param $pathInfo the PathInfo -- $_SERVER['PATH_INFO'] + * @param string $pathInfo the PathInfo -- $_SERVER['PATH_INFO'] * @return MWMultiVersion object for the wiki derived from the pathinfo */ public static function initializeForUploadWiki( $pathInfo ) { @@ -117,7 +117,7 @@ /** * Derives site and lang from the parameters and sets $site and $lang on the instance - * @param $serverName the ServerName for this wiki -- $_SERVER['SERVER_NAME'] + * @param string $serverName the ServerName for this wiki -- $_SERVER['SERVER_NAME'] */ private function setSiteInfoForWiki( $serverName ) { $matches = array(); @@ -180,7 +180,7 @@ /** * Derives site and lang from the parameter and sets $site and $lang on the instance - * @param $pathInfo the PathInfo -- $_SERVER['PATH_INFO'] + * @param string $pathInfo the PathInfo -- $_SERVER['PATH_INFO'] */ private function setSiteInfoForUploadWiki( $pathInfo ) { $pathBits = explode( '/', $pathInfo ); -- To view, visit https://gerrit.wikimedia.org/r/134961 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I207e77c638f89711c98ee73f43160aa9fdcb2167 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Reedy <re...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits