From cb10dd1d83262d2b851ff9370a04162692853a77 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 26 Jan 2021 13:32:17 +0100 Subject: Base: Update psalm definition and dependency list Signed-off-by: Sean Molenaar --- lib/Controller/FeedApiController.php | 5 ----- lib/Controller/ItemApiController.php | 4 ++-- lib/Service/FeedServiceV2.php | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/Controller/FeedApiController.php b/lib/Controller/FeedApiController.php index 29f79b3ec..f247a4e66 100644 --- a/lib/Controller/FeedApiController.php +++ b/lib/Controller/FeedApiController.php @@ -47,11 +47,6 @@ class FeedApiController extends ApiController */ private $logger; - /** - * @var EntityApiSerializer - */ - private $serializer; - public function __construct( IRequest $request, ?IUserSession $userSession, diff --git a/lib/Controller/ItemApiController.php b/lib/Controller/ItemApiController.php index af36b87f0..7ec43bc5c 100644 --- a/lib/Controller/ItemApiController.php +++ b/lib/Controller/ItemApiController.php @@ -55,7 +55,7 @@ class ItemApiController extends ApiController * @param int $batchSize * @param int $offset * @param bool $oldestFirst - * @return array|mixed + * @return array|JSONResponse */ public function index( int $type = 3, @@ -87,7 +87,7 @@ class ItemApiController extends ApiController * @param int $type * @param int $id * @param int $lastModified - * @return array|mixed + * @return array|JSONResponse */ public function updated(int $type = 3, int $id = 0, int $lastModified = 0) { diff --git a/lib/Service/FeedServiceV2.php b/lib/Service/FeedServiceV2.php index 00511beb6..b4e1dfa88 100644 --- a/lib/Service/FeedServiceV2.php +++ b/lib/Service/FeedServiceV2.php @@ -246,7 +246,7 @@ class FeedServiceV2 extends Service return $feed; } - // for backwards compability it can be that the location is not set + // for backwards compatibility it can be that the location is not set // yet, if so use the url $location = $feed->getLocation() ?? $feed->getUrl(); -- cgit v1.2.3