Completed
Push — master ( 224ae7...80285a )
by Gareth
13:38
created
src/Console/Command/TldrCommand.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,18 +2,17 @@
 block discarded – undo
2 2
 
3 3
 namespace GarethEllis\Tldr\Console\Command;
4 4
 
5
+use GarethEllis\Tldr\Cache\StashReader;
5 6
 use GarethEllis\Tldr\Fetcher\CacheFetcher;
7
+use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException;
8
+use GarethEllis\Tldr\Fetcher\RemoteFetcher;
9
+use GuzzleHttp\Client as Http;
6 10
 use GuzzleHttp\Exception\ClientException;
7 11
 use GuzzleHttp\Exception\RequestException;
8 12
 use Symfony\Component\Console\Command\Command;
9 13
 use Symfony\Component\Console\Input\InputArgument;
10 14
 use Symfony\Component\Console\Input\InputInterface;
11
-use Symfony\Component\Console\Input\InputOption;
12 15
 use Symfony\Component\Console\Output\OutputInterface;
13
-use GarethEllis\Tldr\Fetcher\RemoteFetcher;
14
-use GuzzleHttp\Client as Http;
15
-use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException;
16
-use GarethEllis\Tldr\Cache\StashReader;
17 16
 
18 17
 class TldrCommand extends Command
19 18
 {
Please login to merge, or discard this patch.
src/Fetcher/RemoteFetcher.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Fetch a page from remote repository
51 51
      *
52
-     * @param string $page
53
-     * @return string
52
+     * @return TldrPage
54 53
      * @throws PageNotFoundException
55 54
      */
56 55
     public function fetchPage(String $pageName): TldrPage
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace GarethEllis\Tldr\Fetcher;
4 4
 
5
+use GarethEllis\Tldr\Cache\CacheWriterInterface;
5 6
 use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException;
6 7
 use GarethEllis\Tldr\Page\TldrPage;
7 8
 use GuzzleHttp\Client;
8
-use GarethEllis\Tldr\Cache\CacheWriterInterface;
9 9
 
10 10
 /**
11 11
  * Class RemoteFetcher
Please login to merge, or discard this patch.