summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-01-26 13:32:17 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-01-26 16:06:47 +0100
commitcb10dd1d83262d2b851ff9370a04162692853a77 (patch)
tree60a73753eb72a9c94d1ecc58f547c6e552a865ac /lib
parentad103f3b4405c8571e68a0d50f4f79ca2a1cde16 (diff)
Base: Update psalm definition and dependency list
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/FeedApiController.php5
-rw-r--r--lib/Controller/ItemApiController.php4
-rw-r--r--lib/Service/FeedServiceV2.php2
3 files changed, 3 insertions, 8 deletions
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();