mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-27 09:41:37 +00:00
Add missing documentation to class properties
Change-Id: I904de853c11209749b7b31e52e99a1dc5ac46aaa
This commit is contained in:
parent
a8832eae15
commit
7352d40891
|
@ -2,7 +2,6 @@
|
||||||
<ruleset>
|
<ruleset>
|
||||||
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
||||||
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
|
||||||
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
||||||
</rule>
|
</rule>
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
|
|
|
@ -28,8 +28,11 @@ use Wikimedia\RequestTimeout\TimeoutException;
|
||||||
* @link https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
|
* @link https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
|
||||||
*/
|
*/
|
||||||
class ParserFunctions {
|
class ParserFunctions {
|
||||||
|
/** @var ExprParser|null */
|
||||||
private static $mExprParser = null;
|
private static $mExprParser = null;
|
||||||
|
/** @var array[][][][] */
|
||||||
private static $mTimeCache = [];
|
private static $mTimeCache = [];
|
||||||
|
/** @var int */
|
||||||
private static $mTimeChars = 0;
|
private static $mTimeChars = 0;
|
||||||
|
|
||||||
/** ~10 seconds */
|
/** ~10 seconds */
|
||||||
|
|
Loading…
Reference in a new issue