Skip to content

Commit a1cd2e7

Browse files
committed
Merge pull request #49 from royopa/patch-1
Removed unnecessary else
2 parents d6988fa + a5ccb59 commit a1cd2e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Reader.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ function parse() {
7575

7676
if ($errors) {
7777
throw new LibXMLException($errors);
78-
} else {
79-
return $result;
8078
}
8179

80+
return $result;
8281
}
8382

8483

0 commit comments

Comments
 (0)