@@ -27,7 +27,7 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * @param $ipAddress |
|
30 | + * @param string $ipAddress |
|
31 | 31 | * @return array |
32 | 32 | */ |
33 | 33 | public function resolveIpLocation($ipAddress) |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * Tries to perform a GET request to provided url, returning true on success and false on failure |
100 | 100 | * |
101 | 101 | * @param UriInterface $url |
102 | - * @return bool |
|
102 | + * @return boolean|null |
|
103 | 103 | */ |
104 | 104 | protected function checkUrlExists(UriInterface $url) |
105 | 105 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Psr\Http\Message\ResponseInterface as Response; |
6 | 6 | use Psr\Http\Message\ServerRequestInterface as Request; |
7 | 7 | use Psr\Log\LoggerInterface; |
8 | -use Psr\Log\NullLogger; |
|
9 | 8 | use Shlinkio\Shlink\Common\Paginator\Util\PaginatorUtilsTrait; |
10 | 9 | use Shlinkio\Shlink\Core\Service\ShortUrlService; |
11 | 10 | use Shlinkio\Shlink\Core\Service\ShortUrlServiceInterface; |
@@ -67,7 +67,7 @@ |
||
67 | 67 | |
68 | 68 | /** |
69 | 69 | * @param array $query |
70 | - * @return string |
|
70 | + * @return integer |
|
71 | 71 | */ |
72 | 72 | public function queryToListParams(array $query) |
73 | 73 | { |
@@ -47,7 +47,6 @@ |
||
47 | 47 | /** |
48 | 48 | * InstallCommand constructor. |
49 | 49 | * @param WriterInterface $configWriter |
50 | - * @param callable|null $databaseCreationLogic |
|
51 | 50 | */ |
52 | 51 | public function __construct(WriterInterface $configWriter) |
53 | 52 | { |
@@ -25,6 +25,10 @@ |
||
25 | 25 | */ |
26 | 26 | private $tags; |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $searchTerm |
|
30 | + * @param string $orderBy |
|
31 | + */ |
|
28 | 32 | public function __construct( |
29 | 33 | PaginableRepositoryInterface $paginableRepository, |
30 | 34 | $searchTerm = null, |
@@ -20,7 +20,7 @@ |
||
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
23 | - * @param ShortUrl|int $shortUrl |
|
23 | + * @param ShortUrl $shortUrl |
|
24 | 24 | * @param DateRange|null $dateRange |
25 | 25 | * @return Visit[] |
26 | 26 | */ |
@@ -129,6 +129,9 @@ |
||
129 | 129 | $this->assertTrue(strpos($output, 'Tags') > 0); |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param string $inputData |
|
134 | + */ |
|
132 | 135 | protected function getInputStream($inputData) |
133 | 136 | { |
134 | 137 | $stream = fopen('php://memory', 'r+', false); |