summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-04-14 16:45:41 +0200
committerJ0WI <J0WI@users.noreply.github.com>2021-04-14 16:46:02 +0200
commit8fd2be9655b96ec38aa90264fc655e7e11f3e579 (patch)
tree7de2e3f03bf51c0ccc239f624b1879643427e1b9 /apps/updatenotification
parentf031dd61c14a093effeb5773323f578abd65d54f (diff)
downloadnextcloud-server-8fd2be9655b96ec38aa90264fc655e7e11f3e579.tar.gz
nextcloud-server-8fd2be9655b96ec38aa90264fc655e7e11f3e579.zip
Updatenotification: add missing strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'apps/updatenotification')
-rw-r--r--apps/updatenotification/appinfo/routes.php3
-rw-r--r--apps/updatenotification/lib/Command/Check.php5
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/updatenotification/appinfo/routes.php b/apps/updatenotification/appinfo/routes.php
index 10835164c7b..c7debdb71e0 100644
--- a/apps/updatenotification/appinfo/routes.php
+++ b/apps/updatenotification/appinfo/routes.php
@@ -1,4 +1,7 @@
<?php
+
+declare(strict_types=1);
+
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
diff --git a/apps/updatenotification/lib/Command/Check.php b/apps/updatenotification/lib/Command/Check.php
index 351350ba3ee..900481383f3 100644
--- a/apps/updatenotification/lib/Command/Check.php
+++ b/apps/updatenotification/lib/Command/Check.php
@@ -1,4 +1,7 @@
<?php
+
+declare(strict_types=1);
+
/**
* @copyright Copyright (c) 2018, Tobia De Koninck (tobia@ledfan.be)
*
@@ -56,7 +59,7 @@ class Check extends Command {
$this->updateChecker = $updateChecker;
}
- protected function configure() {
+ protected function configure(): void {
$this
->setName('update:check')
->setDescription('Check for server and app updates')