Skip to content

Commit

Permalink
renamed class ORS to avoid confusion with namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisChaumont committed Aug 11, 2018
1 parent 0740ff1 commit 53e5677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/OpenRouteService.php → src/ORS.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* class to communicate with the Open Route Service API
*/
class OpenRouteService {
class ORS {

private $apiKey;

Expand Down
2 changes: 1 addition & 1 deletion tests/tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$address = "Chicago, USA";

// instantiate new object with the API key
$cOrs = new OpenRouteService($apiKey);
$cOrs = new ORS($apiKey);

// geocode the address
$coordinates = $cOrs->geocode($address, $txtForLogs);
Expand Down

0 comments on commit 53e5677

Please sign in to comment.