includes/OutputTransform/ContentDOMTransformStage.php
Method transform
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function transform( ParserOutput $po, ?ParserOptions $popts, array &$options ): ParserOutput {
// TODO will use HTMLHolder in the future
$doc = null;
$hasPageBundle = PageBundleParserOutputConverter::hasPageBundle( $po );
if ( $hasPageBundle ) {