Skip to content

Commit

Permalink
removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-topway-it authored Feb 15, 2024
1 parent 33fcb62 commit 88bc385
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/GeoJsonPages/GeoJsonContentHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Maps\GeoJsonPages;

use Content;
use FormatJson;
use Maps\MapsFactory;
use Maps\Presentation\OutputFacade;
use MediaWiki\Content\Renderer\ContentParseParams;
Expand All @@ -25,11 +24,6 @@ public function makeEmptyContent(): GeoJsonContent {
$class = $this->getContentClass();
return new $class( $class::newEmptyContentString() );
}

public static function newEmptyContentString(): string {
$text = '{"type": "FeatureCollection", "features": []}';
return FormatJson::encode( FormatJson::parse( $text )->getValue(), true, FormatJson::UTF8_OK );
}

/**
* @inheritdoc
Expand Down

0 comments on commit 88bc385

Please sign in to comment.