diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2024-09-11 22:09:49 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2024-09-11 22:09:49 +0200 |
commit | b81bf56898b8fa804110535999823b844e23165a (patch) | |
tree | b6a9b92e3ead261dbce1bff977f52066441eb282 /includes/parser/PPDStack_Hash.php | |
parent | 41e428a0a5f5da304d73b98f7f020314f119e417 (diff) | |
download | mediawikicore-b81bf56898b8fa804110535999823b844e23165a.tar.gz mediawikicore-b81bf56898b8fa804110535999823b844e23165a.zip |
parser: Remove PPDStack_Hash::$false
The value is never changed, just use false
Change-Id: I6ff2b1e91f28340f8f467a1d5e50cc132e142b95
Diffstat (limited to 'includes/parser/PPDStack_Hash.php')
-rw-r--r-- | includes/parser/PPDStack_Hash.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/parser/PPDStack_Hash.php b/includes/parser/PPDStack_Hash.php index 81344aa78f76..2d75e2170a7e 100644 --- a/includes/parser/PPDStack_Hash.php +++ b/includes/parser/PPDStack_Hash.php @@ -39,8 +39,6 @@ class PPDStack_Hash { public $out; public $elementClass = PPDStackElement_Hash::class; - public static $false = false; - public function __construct() { $this->stack = []; $this->top = false; @@ -91,7 +89,7 @@ class PPDStack_Hash { $this->top = $this->stack[count( $this->stack ) - 1]; $this->accum =& $this->top->getAccum(); } else { - $this->top = self::$false; + $this->top = false; $this->accum =& $this->rootAccum; } return $temp; |