Skip to content

Commit 4202ed3

Browse files
committed
chore: fix pipeline
1 parent 80d305f commit 4202ed3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/Parsers/Files/GPXParser.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,8 @@ private function convertSimpleXMLElementToString($element)
148148
&& count($element->children()) === 0
149149
) {
150150
$element = (string) $element;
151-
}
152-
// Else if it is a simpleXMLElement and it has children we need to call this function again
153-
elseif ($element instanceof \SimpleXMLElement) {
151+
} elseif ($element instanceof \SimpleXMLElement) {
152+
// Else if it is a simpleXMLElement and it has children we need to call this function again
154153
$element = (array) $element;
155154
foreach ($element as $key => $value) {
156155
$element[$key] = $this->convertSimpleXMLElementToString($value);

0 commit comments

Comments
 (0)