Add missing documentation to class properties

Change-Id: I904de853c11209749b7b31e52e99a1dc5ac46aaa
This commit is contained in:
Umherirrender 2024-08-19 21:08:44 +02:00
parent a8832eae15
commit 7352d40891
2 changed files with 3 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.PropertyDocumentation.MissingDocumentationPrivate" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule>
<file>.</file>

View file

@ -28,8 +28,11 @@ use Wikimedia\RequestTimeout\TimeoutException;
* @link https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
*/
class ParserFunctions {
/** @var ExprParser|null */
private static $mExprParser = null;
/** @var array[][][][] */
private static $mTimeCache = [];
/** @var int */
private static $mTimeChars = 0;
/** ~10 seconds */