Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/ApiService.php2
-rw-r--r--lib/Service/ImageService.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Service/ApiService.php b/lib/Service/ApiService.php
index e596f96cb..7207e7250 100644
--- a/lib/Service/ApiService.php
+++ b/lib/Service/ApiService.php
@@ -47,7 +47,7 @@ class ApiService {
protected $sessionService;
protected $documentService;
protected $logger;
- private ImageService $imageService;
+ private $imageService;
public function __construct(IRequest $request,
SessionService $sessionService,
diff --git a/lib/Service/ImageService.php b/lib/Service/ImageService.php
index e9defe1a8..5c6db0259 100644
--- a/lib/Service/ImageService.php
+++ b/lib/Service/ImageService.php
@@ -31,7 +31,6 @@ use OCA\Text\Controller\ImageController;
use OCP\Constants;
use OCP\Files\Folder;
use OCP\Files\File;
-use OCP\Files\Node;
use OCP\Files\NotFoundException;
use OCP\Files\SimpleFS\ISimpleFile;
use OCP\IPreview;