mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 02:24:07 +00:00
Improve param docs
Change-Id: Ifcb9ed2fbbdc38e11dfcc44951314baed81f2410
This commit is contained in:
parent
0b1160d0ba
commit
b59f43ce8e
|
@ -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" />
|
||||
|
|
|
@ -194,6 +194,7 @@ class SyntaxHighlight {
|
|||
/**
|
||||
* @param string $code
|
||||
* @param bool $inline
|
||||
* @return string HTML
|
||||
*/
|
||||
private static function plainCodeWrap( $code, $inline ) {
|
||||
if ( $inline ) {
|
||||
|
|
Loading…
Reference in a new issue