Skip to content

Commit

Permalink
fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-topway-it authored Mar 19, 2024
1 parent 88bc385 commit 2049d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeoJsonPages/GeoJsonContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class GeoJsonContent extends \JsonContent {

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

public static function formatJson( $value ): string {
Expand Down

0 comments on commit 2049d8c

Please sign in to comment.