From ccffe43a911111933be5ec6bedcb4623c25a015a Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 24 Feb 2011 11:59:51 +0000 Subject: [PATCH] Add a couple of type hints noticed when poking bug 27673 --- includes/parser/Parser.php | 8 +++++++- includes/parser/Preprocessor_Hash.php | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 880dcc925a..4bfc4db7a5 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -114,7 +114,13 @@ class Parser { # Cleared with clearState(): - var $mOutput, $mAutonumber, $mDTopen, $mStripState; + var $mOutput, $mAutonumber, $mDTopen; + + /** + * @var StripState + */ + var $mStripState; + var $mIncludeCount, $mArgStack, $mLastSection, $mInPre; var $mLinkHolders, $mLinkID; var $mIncludeSizes, $mPPNodeCount, $mDefaultSort; diff --git a/includes/parser/Preprocessor_Hash.php b/includes/parser/Preprocessor_Hash.php index 8a51a6b96c..ace616caf2 100644 --- a/includes/parser/Preprocessor_Hash.php +++ b/includes/parser/Preprocessor_Hash.php @@ -820,7 +820,13 @@ class PPDAccum_Hash { * @ingroup Parser */ class PPFrame_Hash implements PPFrame { - var $preprocessor, $parser, $title; + + /** + * @var Parser + */ + var $parser; + + var $preprocessor, $title; var $titleCache; /** -- 2.20.1