diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-04-12 17:55:01 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-05-20 22:18:06 +0200 |
commit | b70c6a128fe5d0053b7971881696eafce4cb7c26 (patch) | |
tree | 641ff76531803c207a92d86f47d46b6dd93ab6d3 /core/Command/Upgrade.php | |
parent | 2b0d82675f669f00ad90f2750b1832a60ec9f766 (diff) | |
download | nextcloud-server-b70c6a128fe5d0053b7971881696eafce4cb7c26.tar.gz nextcloud-server-b70c6a128fe5d0053b7971881696eafce4cb7c26.zip |
Update core to PHP 7.4 standard
- Typed properties
- Port to LoggerInterface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'core/Command/Upgrade.php')
-rw-r--r-- | core/Command/Upgrade.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 0591132e37f..acf0b503d19 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -53,14 +53,9 @@ class Upgrade extends Command { public const ERROR_INVALID_ARGUMENTS = 4; public const ERROR_FAILURE = 5; - /** @var IConfig */ - private $config; - - /** @var LoggerInterface */ - private $logger; - - /** @var Installer */ - private $installer; + private IConfig $config; + private LoggerInterface $logger; + private Installer $installer; public function __construct(IConfig $config, LoggerInterface $logger, Installer $installer) { parent::__construct(); |