mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-14 10:34:53 +00:00
Simplify initialization in ReferenceStack::pushRef
Change-Id: I52b0f891e41a0d0b25ac0aade0d4f4fcc4dcd2f2
This commit is contained in:
parent
b62d6e6fd4
commit
2da4305cd9
|
@ -130,8 +130,6 @@ class ReferenceStack {
|
||||||
) : ?array {
|
) : ?array {
|
||||||
if ( !isset( $this->refs[$group] ) ) {
|
if ( !isset( $this->refs[$group] ) ) {
|
||||||
$this->refs[$group] = [];
|
$this->refs[$group] = [];
|
||||||
}
|
|
||||||
if ( !isset( $this->groupRefSequence[$group] ) ) {
|
|
||||||
$this->groupRefSequence[$group] = 0;
|
$this->groupRefSequence[$group] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue