Change-Id: I5b97c6292a28df6633c573a05c89210b096db5a8
* Callback registered with ParserOptions::$lazyOptions, triggered by getSpeculativeRevId().
*
* @param ParserOptions $popt
- * @return bool|false
+ * @return int|false
*/
private static function initSpeculativeRevId( ParserOptions $popt ) {
$cb = $popt->getOption( 'speculativeRevIdCallback' );
* Callback registered with ParserOptions::$lazyOptions, triggered by getSpeculativePageId().
*
* @param ParserOptions $popt
- * @return bool|false
+ * @return int|false
*/
private static function initSpeculativePageId( ParserOptions $popt ) {
$cb = $popt->getOption( 'speculativePageIdCallback' );
'speculativeRevIdUsed',
'revisionTimestampUsed'
];
+
/** @var int|null Assumed rev ID for {{REVISIONID}} if no revision is set */
private $speculativeRevIdUsed;
/** @var int|null Assumed page ID for {{PAGEID}} if no revision is set */