From 713f7e7bc924fbee45839c81f9bc481a7ad4e117 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Fri, 16 Dec 2022 18:18:09 +0100 Subject: [PATCH] Added missing dock block --- module/Core/src/ShortUrl/ShortUrlListService.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/Core/src/ShortUrl/ShortUrlListService.php b/module/Core/src/ShortUrl/ShortUrlListService.php index 5287f14d..d83647f0 100644 --- a/module/Core/src/ShortUrl/ShortUrlListService.php +++ b/module/Core/src/ShortUrl/ShortUrlListService.php @@ -6,6 +6,7 @@ namespace Shlinkio\Shlink\Core\ShortUrl; use Shlinkio\Shlink\Common\Paginator\Paginator; use Shlinkio\Shlink\Core\Options\UrlShortenerOptions; +use Shlinkio\Shlink\Core\ShortUrl\Entity\ShortUrl; use Shlinkio\Shlink\Core\ShortUrl\Model\ShortUrlsParams; use Shlinkio\Shlink\Core\ShortUrl\Paginator\Adapter\ShortUrlRepositoryAdapter; use Shlinkio\Shlink\Core\ShortUrl\Repository\ShortUrlListRepositoryInterface; @@ -19,6 +20,9 @@ class ShortUrlListService implements ShortUrlListServiceInterface ) { } + /** + * @return ShortUrl[]|Paginator + */ public function listShortUrls(ShortUrlsParams $params, ?ApiKey $apiKey = null): Paginator { $defaultDomain = $this->urlShortenerOptions->domain['hostname'] ?? '';