mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.11.0
Change-Id: Ifb2eec4e791fd0de0a50d8ef85e0947ab9a891e7
This commit is contained in:
parent
f7bc278673
commit
c0ace40aaa
|
@ -166,6 +166,7 @@ class Ref extends ExtensionTagHandler {
|
||||||
$bodyElt = $bodyElt->cloneNode( true );
|
$bodyElt = $bodyElt->cloneNode( true );
|
||||||
foreach ( $bodyElt->childNodes as $child ) {
|
foreach ( $bodyElt->childNodes as $child ) {
|
||||||
if ( DOMUtils::hasTypeOf( $child, 'mw:Cite/Follow' ) ) {
|
if ( DOMUtils::hasTypeOf( $child, 'mw:Cite/Follow' ) ) {
|
||||||
|
// @phan-suppress-next-line PhanTypeMismatchArgumentSuperType
|
||||||
DOMCompat::remove( $child );
|
DOMCompat::remove( $child );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue