aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Command/ExiprationNotification.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Command/ExiprationNotification.php')
-rw-r--r--apps/files_sharing/lib/Command/ExiprationNotification.php24
1 files changed, 6 insertions, 18 deletions
diff --git a/apps/files_sharing/lib/Command/ExiprationNotification.php b/apps/files_sharing/lib/Command/ExiprationNotification.php
index f4f41dc7011..df5656a434e 100644
--- a/apps/files_sharing/lib/Command/ExiprationNotification.php
+++ b/apps/files_sharing/lib/Command/ExiprationNotification.php
@@ -18,25 +18,13 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class ExiprationNotification extends Command {
- /** @var NotificationManager */
- private $notificationManager;
- /** @var IDBConnection */
- private $connection;
- /** @var ITimeFactory */
- private $time;
- /** @var ShareManager */
- private $shareManager;
-
- public function __construct(ITimeFactory $time,
- NotificationManager $notificationManager,
- IDBConnection $connection,
- ShareManager $shareManager) {
+ public function __construct(
+ private ITimeFactory $time,
+ private NotificationManager $notificationManager,
+ private IDBConnection $connection,
+ private ShareManager $shareManager,
+ ) {
parent::__construct();
-
- $this->notificationManager = $notificationManager;
- $this->connection = $connection;
- $this->time = $time;
- $this->shareManager = $shareManager;
}
protected function configure() {