src/Client.php
Method getDirections
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getDirections(Route $route)
{
$uri = $this->createUri($route);
$request = $this->httpTransport->newRequest()
->withMethod('GET')
Avoid too many return
statements within this method. Open
Open
return $route;
Avoid too many return
statements within this method. Open
Open
return $route;