Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
45 | protected function fillParserOutput( Title $title, $revId, ParserOptions $options, |
||
46 | $generateHtml, ParserOutput &$output ) { |
||
47 | |||
48 | if ( $generateHtml && $this->isValid() ) { |
||
49 | ( new GeoJsonPage( $this->beautifyJSON() ) )->addToParserOutput( $output ); |
||
50 | } else { |
||
51 | $output->setText( '' ); |
||
52 | } |
||
53 | } |
||
54 | |||
56 |