summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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();