The type Shobi\Weatherapp\Shobi\Weatherapp\Http\Client was not found. Did you mean Shobi\Weatherapp\Http\Client? If so, make sure to prefix the type with \.
It seems like $client of type Shobi\Weatherapp\Http\Client is incompatible with the declared type Shobi\Weatherapp\Shobi\Weatherapp\Http\Client of property $client.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
21
}
22
23
/**
24
* @param string $location
25
* @return Weather\Weather
26
* @throws GuzzleHttp\Exception\ClientException
27
*/
28
public function current($location = 'london')
29
{
30
return (new Current($this->client))->get($location);