diff options
author | jenkins-bot <jenkins-bot@gerrit.wikimedia.org> | 2021-12-13 20:13:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@wikimedia.org> | 2021-12-13 20:13:26 +0000 |
commit | 7032a10719a0228eada8c0fc6369ed58f8982b6f (patch) | |
tree | 1b8968584abe36956a13e68e10cfaac3bcaf14c3 /includes/resourceloader | |
parent | 74202df1446a56282cfba365456935a341134a79 (diff) | |
parent | b4c63c64ae261ca5f1b8a39811157262f581a634 (diff) | |
download | mediawikicore-7032a10719a0228eada8c0fc6369ed58f8982b6f.tar.gz mediawikicore-7032a10719a0228eada8c0fc6369ed58f8982b6f.zip |
Merge "Remove some more comments that literally repeat the code"
Diffstat (limited to 'includes/resourceloader')
-rw-r--r-- | includes/resourceloader/ResourceLoader.php | 6 | ||||
-rw-r--r-- | includes/resourceloader/ResourceLoaderModule.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index e8a92c535713..b3c06684e250 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -117,7 +117,7 @@ class ResourceLoader implements LoggerAwareInterface { /** * Load information stored in the database and dependency tracking store about modules * - * @param string[] $moduleNames Module names + * @param string[] $moduleNames * @param ResourceLoaderContext $context ResourceLoader-specific context of the request */ public function preloadModuleInfo( array $moduleNames, ResourceLoaderContext $context ) { @@ -514,7 +514,7 @@ class ResourceLoader implements LoggerAwareInterface { /** * @internal Exposed for letting getModule() pass the callable to DependencyStore - * @param string $moduleName Module name + * @param string $moduleName * @param string $variant Language/skin variant * @return string[] List of absolute file paths */ @@ -526,7 +526,7 @@ class ResourceLoader implements LoggerAwareInterface { /** * @internal Exposed for letting getModule() pass the callable to DependencyStore - * @param string $moduleName Module name + * @param string $moduleName * @param string $variant Language/skin variant * @param string[] $paths List of relative paths referenced during computation * @param string[] $priorPaths List of relative paths tracked in the dependency store diff --git a/includes/resourceloader/ResourceLoaderModule.php b/includes/resourceloader/ResourceLoaderModule.php index ac918e3f2dc0..68c42684f37d 100644 --- a/includes/resourceloader/ResourceLoaderModule.php +++ b/includes/resourceloader/ResourceLoaderModule.php @@ -1057,7 +1057,7 @@ abstract class ResourceLoaderModule implements LoggerAwareInterface { * If the file does not exist or cannot be read, returns an empty string. * * @since 1.26 Uses MD4 instead of SHA1. - * @param string $filePath File path + * @param string $filePath * @return string Hash */ protected static function safeFileHash( $filePath ) { |