Skip to content

Commit

Permalink
fix: ensure catch syntax compatibility with PHP 7. (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnth authored Feb 7, 2024
1 parent 3be4f25 commit aa2a45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeoJsonPages/Semantic/SubObjectBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getSubObjectsFromGeoJson( string $jsonString ) {
try {
$geoJson = GeoJson::jsonUnserialize( $json );
}
catch ( UnserializationException ) {
catch ( UnserializationException $e ) {
// TODO: log warning
return [];
}
Expand Down

0 comments on commit aa2a45a

Please sign in to comment.