Improve param docs

Change-Id: Ifcb9ed2fbbdc38e11dfcc44951314baed81f2410
This commit is contained in:
Umherirrender 2020-02-29 22:17:22 +01:00
parent 0b1160d0ba
commit b59f43ce8e
2 changed files with 1 additions and 1 deletions

View file

@ -2,7 +2,6 @@
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />

View file

@ -194,6 +194,7 @@ class SyntaxHighlight {
/**
* @param string $code
* @param bool $inline
* @return string HTML
*/
private static function plainCodeWrap( $code, $inline ) {
if ( $inline ) {