Conditions | 3 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
19 | protected function fillParserOutput( Title $title, $revId, ParserOptions $options, |
||
20 | $generateHtml, ParserOutput &$output ) { |
||
21 | |||
22 | if ( $generateHtml && $this->isValid() ) { |
||
23 | $output->setText( $this->getMapHtml( $this->beautifyJSON() ) ); |
||
24 | $output->addModules( 'ext.maps.leaflet.editor' ); |
||
25 | } else { |
||
26 | $output->setText( '' ); |
||
27 | } |
||
28 | } |
||
29 | |||
50 | } |