| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class WeatherApp |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Shobi\Weatherapp\Http\Client |
||
|
|
|||
| 12 | */ |
||
| 13 | private $client; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * WeatherApp constructor. |
||
| 17 | */ |
||
| 18 | public function __construct(Client $client) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $location |
||
| 25 | * @return Weather\Weather |
||
| 26 | * @throws GuzzleHttp\Exception\ClientException |
||
| 27 | */ |
||
| 28 | public function current($location = 'london') |
||
| 31 | } |
||
| 32 | } |