From 829490ab7a02579c6b31573c3f53428e86cbf2e0 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 12 Apr 2022 14:01:13 +0200 Subject: Cleanup dav - Remove unused class AppEnabledPlugin - Add more type hinting when possible Signed-off-by: Carl Schwan --- apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'apps/dav/lib/CalDAV/ICSExportPlugin') diff --git a/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php b/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php index 0c76e4f5e10..2a5a6f1bae3 100644 --- a/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php +++ b/apps/dav/lib/CalDAV/ICSExportPlugin/ICSExportPlugin.php @@ -23,11 +23,11 @@ namespace OCA\DAV\CalDAV\ICSExportPlugin; use OCP\IConfig; -use Psr\Log\LoggerInterface; use Sabre\HTTP\ResponseInterface; use Sabre\VObject\DateTimeParser; use Sabre\VObject\InvalidDataException; use Sabre\VObject\Property\ICalendar\Duration; +use Psr\Log\LoggerInterface; /** * Class ICSExportPlugin @@ -35,10 +35,7 @@ use Sabre\VObject\Property\ICalendar\Duration; * @package OCA\DAV\CalDAV\ICSExportPlugin */ class ICSExportPlugin extends \Sabre\CalDAV\ICSExportPlugin { - - /** @var IConfig */ - private $config; - + private IConfig $config; private LoggerInterface $logger; /** @var string */ -- cgit v1.2.3