Completed
Push — master ( 5a4123...0d4dbb )
by Gareth
13:21
created
src/Fetcher/RemoteFetcher.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Console/Command/TldrCommand.php 1 patch
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,21 +6,19 @@
 block discarded – undo
6 6
 use GarethEllis\Tldr\Cache\StashAdapter;
7 7
 use GarethEllis\Tldr\Console\Output\PageOutput;
8 8
 use GarethEllis\Tldr\Fetcher\CacheFetcher;
9
+use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException;
9 10
 use GarethEllis\Tldr\Fetcher\Exception\RemoteFetcherException;
10 11
 use GarethEllis\Tldr\Fetcher\OperatingSystemTrait;
12
+use GarethEllis\Tldr\Fetcher\RemoteFetcher;
13
+use GuzzleHttp\Client as Http;
11 14
 use Stash\Driver\FileSystem;
12 15
 use Stash\Pool;
13 16
 use Symfony\Component\Console\Command\Command;
14 17
 use Symfony\Component\Console\Command\HelpCommand;
15
-use Symfony\Component\Console\Helper\DescriptorHelper;
16
-use Symfony\Component\Console\Input\ArrayInput;
17 18
 use Symfony\Component\Console\Input\InputArgument;
18 19
 use Symfony\Component\Console\Input\InputInterface;
19 20
 use Symfony\Component\Console\Input\InputOption;
20 21
 use Symfony\Component\Console\Output\OutputInterface;
21
-use GarethEllis\Tldr\Fetcher\RemoteFetcher;
22
-use GuzzleHttp\Client as Http;
23
-use GarethEllis\Tldr\Fetcher\Exception\PageNotFoundException;
24 22
 
25 23
 class TldrCommand extends Command
26 24
 {
Please login to merge, or discard this patch.