Skip to content

Commit

Permalink
fixed typo and removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
ramunasd committed Feb 18, 2015
1 parent 77f5f03 commit bef11e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geoPHP.inc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ class geoPHP

if (!$processor_type) {
throw new exception('geoPHP could not find an adapter of type '.htmlentities($type));
exit;
}

$processor = new $processor_type();
Expand All @@ -78,7 +77,7 @@ class geoPHP
if (!is_array($data)) {
$result = call_user_func_array(array($processor, "read"), array_merge(array($data), $args));
}
// Data is an array, combine all passed in items into a single geomtetry
// Data is an array, combine all passed in items into a single geometry
else {
$geoms = array();
foreach ($data as $item) {
Expand Down

0 comments on commit bef11e7

Please sign in to comment.