Add a couple of type hints noticed when poking bug 27673
authorSam Reed <reedy@users.mediawiki.org>
Thu, 24 Feb 2011 11:59:51 +0000 (11:59 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 24 Feb 2011 11:59:51 +0000 (11:59 +0000)
includes/parser/Parser.php
includes/parser/Preprocessor_Hash.php

index 880dcc9..4bfc4db 100644 (file)
@@ -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;
index 8a51a6b..ace616c 100644 (file)
@@ -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;
 
        /**