diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-04-16 10:16:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 10:16:25 +0200 |
commit | ec66943efd86e41ffaf2257b2f1d67f3d4f32487 (patch) | |
tree | d785531f1c7477497fcf520af52d872f5280a542 /apps/updatenotification | |
parent | bddb3dfcac16639b9c4ef2b25d9564647693a72b (diff) | |
parent | 8fd2be9655b96ec38aa90264fc655e7e11f3e579 (diff) | |
download | nextcloud-server-ec66943efd86e41ffaf2257b2f1d67f3d4f32487.tar.gz nextcloud-server-ec66943efd86e41ffaf2257b2f1d67f3d4f32487.zip |
Merge pull request #26559 from J0WI/updno-strict
Updatenotification: add missing strict_types
Diffstat (limited to 'apps/updatenotification')
-rw-r--r-- | apps/updatenotification/appinfo/routes.php | 3 | ||||
-rw-r--r-- | apps/updatenotification/lib/Command/Check.php | 5 |
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') |