dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Remove workaround for comparing database domain IDs."
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor_Hash.php
diff --git
a/includes/parser/Preprocessor_Hash.php
b/includes/parser/Preprocessor_Hash.php
index
468b009
..
c4c0c5a
100644
(file)
--- a/
includes/parser/Preprocessor_Hash.php
+++ b/
includes/parser/Preprocessor_Hash.php
@@
-792,7
+792,7
@@
class Preprocessor_Hash extends Preprocessor {
class PPDStack_Hash extends PPDStack {
public function __construct() {
class PPDStack_Hash extends PPDStack {
public function __construct() {
- $this->elementClass =
'PPDStackElement_Hash'
;
+ $this->elementClass =
PPDStackElement_Hash::class
;
parent::__construct();
$this->rootAccum = [];
}
parent::__construct();
$this->rootAccum = [];
}
@@
-805,7
+805,7
@@
class PPDStack_Hash extends PPDStack {
class PPDStackElement_Hash extends PPDStackElement {
public function __construct( $data = [] ) {
class PPDStackElement_Hash extends PPDStackElement {
public function __construct( $data = [] ) {
- $this->partClass =
'PPDPart_Hash'
;
+ $this->partClass =
PPDPart_Hash::class
;
parent::__construct( $data );
}
parent::__construct( $data );
}
@@
-1766,12
+1766,12
@@
class PPNode_Hash_Tree implements PPNode {
$descriptor = $store[$index];
if ( is_string( $descriptor ) ) {
$descriptor = $store[$index];
if ( is_string( $descriptor ) ) {
- $class =
'PPNode_Hash_Text'
;
+ $class =
PPNode_Hash_Text::class
;
} elseif ( is_array( $descriptor ) ) {
if ( $descriptor[self::NAME][0] === '@' ) {
} elseif ( is_array( $descriptor ) ) {
if ( $descriptor[self::NAME][0] === '@' ) {
- $class =
'PPNode_Hash_Attr'
;
+ $class =
PPNode_Hash_Attr::class
;
} else {
} else {
- $class =
'PPNode_Hash_Tree'
;
+ $class =
self::class
;
}
} else {
throw new MWException( __METHOD__.': invalid node descriptor' );
}
} else {
throw new MWException( __METHOD__.': invalid node descriptor' );