Skip to content

Commit

Permalink
Merge pull request phayes#99 from ramunasd/master
Browse files Browse the repository at this point in the history
fixed typo and removed dead code
  • Loading branch information
phayes committed Jun 29, 2015
2 parents 9e9dd12 + bef11e7 commit d7e099a
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 d7e099a

Please sign in to comment.