diff --git a/.phpcs.xml b/.phpcs.xml index 5065783c..56882f93 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,7 +2,6 @@ - . diff --git a/includes/ParserFunctions.php b/includes/ParserFunctions.php index 47be1a15..c5e522ea 100644 --- a/includes/ParserFunctions.php +++ b/includes/ParserFunctions.php @@ -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 */