diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-08-29 23:39:35 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-27 15:35:31 +0200 |
commit | d00d1ab2a28f428223e52b17052c072c64784016 (patch) | |
tree | c019f85fb7ac67147dd43ca64b4ac3cda99832f7 /lib/Service/StatusService.php | |
parent | 5687baca75d47dbdffd3de74e865ad2f71ef0cb7 (diff) |
Create V2 mapper, Service and management commands
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Service/StatusService.php')
-rw-r--r-- | lib/Service/StatusService.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Service/StatusService.php b/lib/Service/StatusService.php index f926258b6..c2daa0c0b 100644 --- a/lib/Service/StatusService.php +++ b/lib/Service/StatusService.php @@ -29,14 +29,14 @@ class StatusService public function __construct( IConfig $settings, IDBConnection $connection, - $AppName + string $AppName ) { $this->settings = $settings; $this->appName = $AppName; $this->connection = $connection; } - public function isProperlyConfigured() + public function isProperlyConfigured(): bool { $cronMode = $this->settings->getSystemValue('backgroundjobs_mode'); $cronOff = !$this->settings->getAppValue( @@ -50,7 +50,7 @@ class StatusService } - public function getStatus() + public function getStatus(): array { $version = $this->settings->getAppValue( $this->appName, |