@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | { |
19 | 19 | $geometryCollection = new GeometryCollection(); |
20 | 20 | |
21 | - if(!is_null($geometryObjectCallback)) { |
|
21 | + if (!is_null($geometryObjectCallback)) { |
|
22 | 22 | $geometryCollection->setGeometryObjectCallback($geometryObjectCallback); |
23 | 23 | } |
24 | 24 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $geometryObject->setFeatureClass($feature['properties']['featurecla']); |
41 | 41 | } |
42 | 42 | |
43 | - if(array_key_exists('properties', $feature) && !empty($feature['properties'])) { |
|
43 | + if (array_key_exists('properties', $feature) && !empty($feature['properties'])) { |
|
44 | 44 | $geometryObject->setProperties($feature['properties']); |
45 | 45 | } |
46 | 46 |
@@ -67,7 +67,7 @@ |
||
67 | 67 | $element->setAttribute('data-feature-class', $geometryObject->getFeatureClass()); |
68 | 68 | } |
69 | 69 | |
70 | - if(!is_null($geometryObjectCallback)) { |
|
70 | + if (!is_null($geometryObjectCallback)) { |
|
71 | 71 | $geometryObjectCallback->__invoke($geometryObject, $element); |
72 | 72 | } |
73 | 73 |