X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FPreprocessor_Hash.php;h=9f4b7c73f0fd36ea5a51ffc8849a15ed0ecc4166;hb=e390198c4e4be7632b01173e42050061f1cc346a;hp=f7f37ac044dcf44fef38484b927efa616021b72e;hpb=ac16588afe6b6067f2507b11f1025c0c339baab8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/Preprocessor_Hash.php b/includes/parser/Preprocessor_Hash.php index f7f37ac044..9f4b7c73f0 100644 --- a/includes/parser/Preprocessor_Hash.php +++ b/includes/parser/Preprocessor_Hash.php @@ -628,7 +628,9 @@ class Preprocessor_Hash extends Preprocessor { } $i += $count; } elseif ( $found == 'close' ) { + /** @var PPDStackElement_Hash $piece */ $piece = $stack->top; + '@phan-var PPDStackElement_Hash $piece'; # lets check if there are enough characters for closing brace $maxCount = $piece->count; if ( $piece->close === '}-' && $curChar === '}' ) {