Skip to content

Commit

Permalink
Fixed bug with durationText()
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTPickr authored Sep 14, 2018
1 parent 8a68222 commit ebb5ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Response/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ public function duration()
*/
public function durationText()
{
return $this->element['distance']['text'];
return $this->element['duration']['text'];
}
}
}

0 comments on commit ebb5ff8

Please sign in to comment.