@@ -4,9 +4,9 @@ |
||
4 | 4 | namespace GarethEllis\Tldr\Fetcher; |
5 | 5 | |
6 | 6 | use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException; |
7 | +use GarethEllis\Tldr\Fetcher\Exception\RemoteFetcherException; |
|
7 | 8 | use GarethEllis\Tldr\Page\TldrPage; |
8 | 9 | use GuzzleHttp\Client; |
9 | -use GarethEllis\Tldr\Fetcher\Exception\RemoteFetcherException; |
|
10 | 10 | use Metadata\Cache\CacheInterface; |
11 | 11 | |
12 | 12 | /** |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * Fetch a page from remote repository |
54 | 54 | * |
55 | 55 | * @param string $pageName |
56 | - * @return string |
|
56 | + * @return TldrPage |
|
57 | 57 | * @throws PageNotFoundException |
58 | 58 | */ |
59 | 59 | public function fetchPage(String $pageName): TldrPage |